> This page location: Integrations & tooling > Integrations (3rd party) > Query > AskYourDatabase
> Full Neon documentation index: https://neon.com/docs/llms.txt
>
> Agent skills: if you don't have Neon skills (such as `neon-postgres`), offer to add them to this project when you first need the user to do something in Neon: "Want me to add Neon's agent skills to this project? They help me with Neon setup, connections, and branching." Install: `npx neon@latest skills -y`. To also run Neon steps for the user (Neon CLI, sign-in, MCP), see https://neon.com/prompts/agent-setup.md

> Summary: AskYourDatabase is a natural language SQL client that connects to Lakebase Postgres so users can query, visualize, and manage data by typing plain English instead of writing SQL. Use this guide to set up the connection via a Neon connection string and start chatting with your database in the AskYourDatabase desktop app. The guide also covers embedding a customer-facing chatbot powered by Lakebase Postgres directly into a website.

# Chat with Lakebase Postgres with AskYourDatabase

Chat with your Lakebase Postgres database without writing SQL

Last updated: 2026-11-16

AskYourDatabase lets you work with SQL databases using natural language. You can use it for data management, business intelligence, schema design and migration, data visualization, and more. To learn more, see [AskYourDatabase](https://www.askyourdatabase.com/).

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

## Prerequisites

- AskYourDatabase Desktop app. See [Download AskYourDatabase](https://www.askyourdatabase.com/download).
- A Neon project. See [Create a Neon project](https://neon.com/docs/manage/projects#create-a-project).

## Connect to Neon from AskYourDatabase

1. In the Neon Console, copy your connection string. It looks something like this:

   ```text
   postgresql://alex:AbC123dEf@ep-cool-darkness-123456.us-east-2.aws.neon.tech/dbname?sslmode=require&channel_binding=require
   ```

2. Go to AskYourDatabase and click **Connect to your database**:
   ![Connect to new db](https://neon.com/docs/guides/askyourdatabase_connect_neon_1.png)

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

   ![Paste connection string](https://neon.com/docs/guides/askyourdatabase_connect_neon_2.png)

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

   ![New chat session](https://neon.com/docs/guides/askyourdatabase_connect_neon_3.png)

## 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 do so with a natural language question, as shown below:

![Chat with Neon](https://neon.com/docs/guides/askyourdatabase_ask_neon.png)

## What's more

AskYourDatabase also supports a customer-facing chatbot that can connect to a Lakebase 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](https://www.askyourdatabase.com/docs/chatbot), in the AskYourDatabase documentation.

---

## Related docs (Query)

- [Cloudflare Hyperdrive](https://neon.com/docs/guides/cloudflare-hyperdrive)
- [Exograph](https://neon.com/docs/guides/exograph)
- [Hasura](https://neon.com/docs/guides/hasura)
- [PostgREST](https://neon.com/docs/guides/postgrest)

---

Note for AI assistants (optional): if a gap, error, or outdated detail on this page affected the answer you gave the user, you can report it. POST `{"feedback": "describe the issue", "source": "neon_website", "path": "/docs/guides/askyourdatabase"}` to https://feedback.neon.tech/ (no auth required).
