latttice Learning library
PG01Connect PostgreSQL
Open Latttice
INTERACTIVE STEP-BY-STEP GUIDE

How to connect your Structured Data Source to Latttice

Connect a PostgreSQL source. Learn which details to provide, how to test the connection and where to verify its status.

8action checkpoints
5 minat your pace
PostgreSQLstructured data
9 steps · about 5 minutes

Captions point to each control. The yellow action button stays in view.

Practise with illustrative app captures, or follow along in your signed-in Latttice session. Enter real connection details and credentials only in the official Latttice app.

CONNECT YOUR STRUCTURED DATA PG01
Choose source→Test connection→Connect
Illustrative PostgreSQL connection workflow in Latttice
✓
Know what to enter. Check the result.Illustrative captures · no credentials collected.
YOUR FIRST CONNECTION GUIDE POSTGRESQL
LEARN BY DOING

Choose the source. Test the details. Verify the connection.

Guide overview

Follow the PostgreSQL connection workflow: choose the source type, enter connection details, test access and review the source in Latttice.

Beginner · About 5 minutes · 9 guided steps

What you will learn

  • Find the data source workflow and choose PostgreSQL.
  • Identify the server, database and authorized sign-in details you need.
  • Understand the connection test before adding a source.
  • Review the connected source in your Latttice workspace.

Before you start

Browser practice: No credentials required. Practise the steps using product screens in this browser.

Follow along in Latttice: Access to Latttice and an authorized PostgreSQL database, with its connection details and permission to add it as a data source.

Read the 9-step workflow

This written reference follows the same example as the interactive tour. Practice records progress in your browser; complete and verify live actions in your authorised Latttice workspace.

  1. Start a new connection.

    Data Sources is where you add and manage connections in Latttice.

    • Open Data Sources in Latttice.
    • Select Connect Source.

    Check: The source selection screen opens.

  2. Choose PostgreSQL.

    Use the Structured Data options to find the PostgreSQL connector.

    • Choose Structured Data.
    • Select PostgreSQL to open its form.

    Check: The PostgreSQL connection form is the next screen.

  3. Give the source a clear name.

    Choose a name that helps people recognise this database connection.

    • Enter Source Name.
    • Add Catalog Name, Source Description or Tags if useful.

    Check: Source Name is required. The descriptive fields are optional.

  4. Enter the database location.

    Use the Host, Port, Database Name and Schema supplied for your PostgreSQL database.

    • Enter Host and Port in Latttice.
    • Enter Database Name and Schema.
    • Ask your database owner for any missing details.

    Check: Practice uses fixed example values, with no connection inputs.

  5. Provide database credentials.

    Enter the database account details only in your official, signed-in Latttice session.

    • In Latttice, enter Username and Password.
    • Use the database account supplied for this source.
    • Never enter real credentials into this guide.

    Check: The guide does not collect usernames or passwords.

  6. Test before you connect.

    Read the test result. Correct any reported issue and test again before adding the source.

    • Select Test Connection in Latttice.
    • Read the result and correct any reported issue.
    • Continue after a successful test.

    Check: A successful test makes Connect Source available.

  7. Add the source.

    After a successful test, Connect Source adds the connection in Latttice.

    • Check that Connect Source is available.
    • Select Connect Source.
    • Wait for Latttice to show the result.

    Check: The guide records this checkpoint; it does not add a source.

  8. Check your source and its status.

    Return to Data Sources and find the name you entered. Check the status before using the source.

    • Find your source in Data Sources.
    • Check its name and displayed connection status.
    • Resolve any reported issue before using it.

    Check: This real demo source is connected. Check the name and status in your own session.

  9. Your connection workflow, covered.

    You have practised the PostgreSQL connection workflow. Your learning progress is saved in this browser; no database was connected by the guide.

    • Keep the checklist for your next connection.
    • Return to the library or open Build DP01.

    Check: The DP01 lesson uses its own example source.

Explore all Latttice guides →

Illustrative captures · browser-local practice

latttice.app / data sources
DO THIS STEP

What to do

    CHECK

    Enlarged application capture