> This page location: AI agents on Neon > Set up your AI agent > Grok Bot
> 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: Connect Neon to Grok Bot so you can create projects, work with branches, and run SQL from chat.

# Set up Neon in Grok Bot

Add the Neon plugin to Grok Bot to work with projects, branches, and SQL from chat

Last updated: 2026-11-05

The Neon plugin for Grok Bot connects your Neon account. After you authorize it, you can create projects, work with branches, and run SQL without leaving Grok Bot.

## Install the plugin

[Add the Neon plugin](https://neon.com/docs/ai/agent-setup/grokbot://app/v1/plugin/add?id=669) in Grok Bot. The link opens the Neon Postgres plugin page.

If the link doesn't open Grok Bot, install from the plugins directory:

1. Launch Grok Bot.
2. Select **Plugins** in the sidebar.
3. Enter `neon` in the search field.
4. Select **Add** next to **Neon Postgres**.

![Plugins directory in Grok Bot, searching for Neon](https://neon.com/docs/ai/grok_bot_plugins_search.png)

## Ask for the Neon connector

You can skip the plugins directory. In a Grok Bot chat, ask it to connect Neon:

```text
Can you connect Neon?
```

The bot finds the Neon Postgres plugin and asks you to confirm. Then it shows a connect card in the chat. Authorize Neon in the browser when that card appears.

## Connect your Neon account

After you add the plugin, Grok Bot asks you to authorize Neon in the browser. The plugin page then shows the default account as **Connected**.

To connect another Neon account, add it from the plugin page and authorize it the same way.

![Neon Postgres plugin in Grok Bot, with the default account Connected](https://neon.com/docs/ai/grok_bot_plugin.png)

## Use Neon in Grok Bot

Once it's connected, you can ask a bot to:

- Create a project and get a connection string for your app
- Create an isolated branch to test a migration
- List projects and see which databases are unused
- Create a routine that summarizes database usage
- Coordinate a branch handoff between bots

![Grok Bot using the Neon plugin to list organizations](https://neon.com/docs/ai/grok_bot_chat.png)

For example:

```text
Create a Neon project for this application and help me connect to it.
```

To use Neon from a coding agent instead, see [Set up your AI agent](https://neon.com/docs/ai/agent-setup).

---

## Related docs (Set up your AI agent)

- [Overview](https://neon.com/docs/ai/agent-setup)
- [Claude Code](https://neon.com/docs/ai/agent-setup/claude-code)
- [Cursor](https://neon.com/docs/ai/agent-setup/cursor)
- [Codex](https://neon.com/docs/ai/agent-setup/codex)
- [VS Code and GitHub Copilot](https://neon.com/docs/ai/agent-setup/vscode)
- [Claude.ai and Claude Desktop](https://neon.com/docs/ai/agent-setup/claude-ai)
- [ChatGPT](https://neon.com/docs/ai/agent-setup/chatgpt)
- [Other agents](https://neon.com/docs/ai/connect-mcp-clients-to-neon)

---

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/ai/agent-setup/grok-bot"}` to https://feedback.neon.tech/ (no auth required).
