Skip to content

Databases & Data · Token

Postgres

Query a database. Read-only unless you say otherwise.

Ask your bot to…

  1. “How many people signed up last week?”
  2. “Describe the orders table”
  3. “Find customers who have never placed an order”

How to connect

  1. 1

    Get a connection string.

    Point this at a read replica or a role with SELECT only.

  2. 2

    Open Connectors in Lobstack and choose Postgres. Paste it in.

  3. 3

    Give it to a bot.

    A bot reaches only the connectors you give it.

Tools

  • query
  • list_schemas
  • describe_table

Examples. The server decides the real list when it starts.