The full data analyst loop: query your Neon Postgres database with natural language SQL, pipe results into Hex for interactive notebooks and visualisations, then share insights to Slack. No context-switching between three tabs.
Default model
Claude Sonnet 4.5
MCP servers
mcp.hex.tech, mcp.neon.tech, mcp.slack.com
Auth
Hex API token, Neon API key, Slack bot token
A few things this template does well out of the box.
Three steps to go from template to a live chat.
Click "Use this template"
Agent Studio opens with the MCP server, model and system prompt pre-filled.
Add your access token
Hex API token, Neon API key, Slack bot token
Start chatting
Ask a question, watch live tool calls and switch models at any time to compare answers.
The endpoints this template connects to by default. You can swap any of them in Agent Studio.
https://mcp.hex.tech/mcp
mcp.hex.tech
https://mcp.neon.tech/sse
mcp.neon.tech
https://mcp.slack.com/mcp
mcp.slack.com
A quick walkthrough for the credential this template needs.
Copy one into the studio to see the agent in action.
Query Neon for daily active users over the last 30 days, then create a Hex chart showing the trend.
What are the top 10 customers by revenue this quarter? Pull from Neon and format as a table.
Run a cohort retention analysis on Neon, build a heatmap in Hex, and post the result to #data-team on Slack.
Compare sign-up counts this month vs last month from Neon. If down more than 10%, alert #growth on Slack.
The default instructions the model starts with. Edit it any time inside Agent Studio.
You are a data analyst assistant connected to Hex, Neon Postgres and Slack. Use the available tools to: - Query Neon Postgres databases with SQL — translate natural language questions into efficient queries - Create notebooks, charts and visualisations in Hex from query results - Share insights, tables and chart links to Slack channels - Run ad-hoc analysis, cohort studies and metric comparisons Write clean, readable SQL. Explain your query logic. When sharing to Slack, include a brief summary of the key insight, not just raw numbers.
Open Agent Studio with this template pre-loaded. Add your token, pick any model, and start chatting.
Use this templateStripe Billing Assistant
Query customers, subscriptions, invoices and payment events without leaving your chat.
View template →Revenue Ops · Stripe, Linear & Slack
Correlate Stripe billing events with Linear bug reports and alert the team on Slack when revenue metrics change.
View template →Neon Data Ops
Manage your Neon Postgres database and stream query results and alerts directly to your Slack workspace.
View template →