Use Neon as your dev environment for AWS RDS: accelerate your workflow while reducing costs

Chat with Neon Postgres with AskYourDatabase

Chat with your Neon Postgres database without writing SQL

AskYourDatabase is the ChatGPT for SQL databases, enabling you to interact with your SQL databases using natural language. You can use it for data management, business intelligence, schema design & migration, data visualization, and more. To learn more, see AskYourDatabase.

This guide shows how to connect from AskYourDatabase to Neon Postgres.


Connect to Neon from AskYourDatabase

  1. Get the Neon URL by navigating to the Neon Console and copying the connection string. The URL will look something like this:

  2. Go to AskYourDatabase and click Connect to your database: Connect to new db

  3. Select PostgreSQL as your database type, and paste your connection string:

    Paste connection string

  4. A new chat session opens if the connection is successful:

    New chat session

Chat with your data

Within the chat session, you can start asking your database questions.

For example, suppose you have a user table with a column named dbType that indicates the type of database.

If you want to know what the four most popular databases are and visualize the distribution in a pie chart, you can quickly and easily do so with a natural language question, as shown below:

Chat with Neon

What's more

AskYourDatabase also supports a customer-facing chatbot that can connect to a Neon Postgres database. You can embed the chatbot in your existing website, enabling your customers to explore analytics data by asking questions in natural language. To learn more, see Create and Integrate Chatbot, in the AskYourDatabase documentation.

Last updated on

Edit this page
Was this page helpful?