Set up PlanetScale Bot to answer database questions, investigate performance, and follow webhook events.
PlanetScale Bot helps you get started with PlanetScale, understand database performance, and fix slow or failing queries using its MCP server and installed skills.
Add PlanetScale Bot
Open the PlanetScale Bot by PlanetScale template, then choose Add to Grok Bot.
Connect the PlanetScale plugin
Add PlanetScale to Grok Bot and authorize access to your databases.
PlanetScale Bot creates its memories, skills, and PlanetScale Webhook Triage routine, then prompts you to install the PlanetScale plugin. The routine starts paused.
3
Install the PlanetScale plugin
Accept the PlanetScale plugin installation prompt. If you don’t see it, open the PlanetScale plugin and choose Add.
4
Authorize PlanetScale
Choose Authorize on the PlanetScale card and follow the PlanetScale authorization flow in your browser.
5
Choose a database
Tell the bot which organization, database, and branch to use. Ask it to verify access with a read-only check before investigating.
For example:
Use PlanetScale organization <organization>, database <database>, branch <branch>.Confirm you can access it, then explain which queries account for the mostexecution time in Insights. Show your evidence and suggested next steps.Do not change the database.
With access to your repository, PlanetScale Bot can trace database issues back to your code and help fix them via Cursor Cloud Agents. Tell the bot which repository to work on. If it is not already connected to Cursor, connect your source control account through Cursor Integrations. See Work with Grok Bot for more.
Webhooks are optional. They let PlanetScale Bot investigate events as they arrive, check whether database changes completed, and flag what needs your attention. Without webhooks, the bot responds when you ask.
1
Configure and enable the routine
Ask the bot to configure PlanetScale Webhook Triage for your chosen organizations and databases, then turn it on. Open the routine to find its Webhook URL and Authorization header.
Webhook credentials are hidden in this screenshot.
2
Add the webhook in PlanetScale
In your database’s Settings → Webhooks → Add webhook, paste the routine’s Webhook URL into URL and the header value into Authorization header, including the scheme, such as Bearer <token>, without the Authorization: label.
3
Choose events and test delivery
Choose the events you want the bot to follow, save the webhook, and use Test webhook. Confirm delivery in PlanetScale and acknowledgment in Grok Bot.Webhooks cover supported events; they don’t notify the bot about every slow query or CPU spike.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"PlanetScale","description":"PlanetScale is a relational database platform for Vitess, Neki, and Postgres that gives you scale, performance, and reliability without sacrificing developer experience.","colors":{"primary":"#0e73cc","light":"#47b7f8","dark":"#f15817"},"logo":{"light":"https://mintcdn.com/planetscale-2/xUilVHToUFALai8a/logo/light.png?fit=max\u0026auto=format\u0026n=xUilVHToUFALai8a\u0026q=85\u0026s=cccd3c9fc813c01b899ab7af15a115b1","dark":"https://mintcdn.com/planetscale-2/xUilVHToUFALai8a/logo/dark.png?fit=max\u0026auto=format\u0026n=xUilVHToUFALai8a\u0026q=85\u0026s=4153888dc0ef54ddc3464738a2d7ee6e","href":"https://planetscale.com"},"favicon":"https://mintcdn.com/planetscale-2/DJh9Bv1aUZHTVDnK/favicon.svg?fit=max\u0026auto=format\u0026n=DJh9Bv1aUZHTVDnK\u0026q=85\u0026s=cc6ec9d8d0deb3450719bb4b5b6df73a","background":{"color":{"light":"#fafafa","dark":"#111111"}},"navbar":{"links":[{"href":"https://auth.planetscale.com/sign-in","label":"Log in"},{"href":"https://auth.planetscale.com/sign-up","label":"Get started"}],"primary":{"type":"button","label":"Get in touch","href":"https://planetscale.com/contact"}},"footer":{"socials":{"x":"https://twitter.com/planetscale","github":"https://github.com/planetscale","linkedin":"https://www.linkedin.com/company/planetscale","youtube":"https://www.youtube.com/c/PlanetScale","discord":"https://pscale.link/community","facebook":"https://www.facebook.com/planetscaledata"}},"seo":{"metatags":{"canonical":"https://planetscale.com/docs"}},"fonts":{"heading":{"family":"Inter"},"body":{"family":"Inter"}},"integrations":{"segment":{"key":"9Ujczlrndco2w8fcFAakL0FT4bsJCCh3"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Blog","icon":"newspaper","href":"https://planetscale.com/blog"},{"anchor":"Contact Us","icon":"headset","href":"https://planetscale.com/contact"},{"anchor":"Status","icon":"signal","href":"https://www.planetscalestatus.com/"},{"anchor":"Benchmarks","icon":"chart-line","href":"https://planetscale.com/benchmarks"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"planetscale-2","hasAudioNarration":false,"actualSubdomain":"planetscale-2","customDomains":["planetscale.com"],"gitSource":{"type":"github","owner":"planetscale","repo":"www","deployBranch":"main","contentDirectory":"content/mintlify/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae505c7cb870de49023cbd6","collectionId":"75c09c64-fefe-4ba5-8569-25281688c6cb","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae505c7cb870de49023cbd6"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae50e31004f8cf1ce957135","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"Platform","count":289},{"language":"default","tag":"API Reference","count":268},{"language":"default","tag":"Vitess","count":184},{"language":"default","tag":"Postgres","count":109},{"language":"default","tag":"General API endpoints","count":97},{"language":"default","tag":"Neki","count":58},{"language":"default","tag":"Guides","count":58},{"language":"default","tag":"Vitess API endpoints","count":56},{"language":"default","tag":"Postgres API endpoints","count":51},{"language":"default","tag":"Neki API endpoints","count":50}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"type":"link","url":"https://planetscale.com/contact?initial=support"}},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#content-container{column-gap:2rem}.nav-tabs{column-gap:.5em}.nav-tabs-item{padding:0 8px}.eyebrow,.light #navigation-items .text-gray-700,.nav-tabs a{color:#616161}#navigation-items .text-primary,#topbar-cta-button .text-white,#topbar-cta-button svg,.nav-tabs a.text-primary{color:#1a1a1a}.nav-tabs a.text-primary .bg-primary{background-color:#1a1a1a;left:0}.dark .nav-tabs a[href='/docs/vitess'i].text-primary,.nav-tabs a[href='/docs/vitess'i].text-primary{color:#f15817}.dark .nav-tabs a[href='/docs/vitess'i].text-primary .bg-primary,.nav-tabs a[href='/docs/vitess'i].text-primary .bg-primary{background-color:#f15817}.nav-tabs a[href='/docs/postgres'i].text-primary{color:#0e73cc}.nav-tabs a[href='/docs/postgres'i].text-primary .bg-primary{background-color:#0e73cc}.nav-tabs a[href='/docs/neki'i].text-primary{color:#8f7200}.nav-tabs a[href='/docs/neki'i].text-primary .bg-primary{background-color:#8f7200}.dark .nav-tabs a{color:#a1a1a1}.dark #navigation-items .text-primary,.dark .nav-tabs a.text-primary{color:#fafafa}.dark .nav-tabs a.text-primary .bg-primary{background-color:#fafafa}.dark .nav-tabs a[href='/docs/postgres'i].text-primary{color:#47b7f8}.dark .nav-tabs a[href='/docs/postgres'i].text-primary .bg-primary{background-color:#47b7f8}.dark .nav-tabs a[href='/docs/neki'i].text-primary{color:#fbca00}.dark .nav-tabs a[href='/docs/neki'i].text-primary .bg-primary{background-color:#fbca00}.prose:is(.dark *){color:#c1c1c1}.prose :where(a):not(:where([class~='not-prose'], [class~='not-prose'] *)){color:#0e73cc;font-weight:500}.dark .prose :where(a):not(:where(.not-prose, .not-prose *)){color:#47b7f8}.dark .eyebrow{color:#a1a1a1}@media (min-width:1024px){#content-container{padding-top:2rem;padding-right:2rem;padding-left:2.5rem}}#topbar-cta-button a>span{background-color:#fbca00}.group:hover span{opacity:1!important}.bg-primary\\/10{background-color:rgba(129,129,129,.1)}.dark .bg-primary\\/10{background-color:rgba(255,255,255,.1)}body[data-current-path^='/vitess'] svg.bg-primary{background-color:#f15817}body[data-current-path^='/vitess'] .border-primary{border-color:#f15817}body[data-current-path^='/vitess'] #table-of-contents-content .text-primary,body[data-current-path^='/vitess'] .eyebrow{color:#f15817}body[data-current-path^='/vitess'] .card-group a:hover{border-color:#f15817!important}body[data-current-path^='/postgres'] .eyebrow{color:#0e73cc}.dark body[data-current-path^='/postgres'] .eyebrow{color:#47b7f8}body[data-current-path^='/neki'] svg.bg-primary{background-color:#8f7200}body[data-current-path^='/neki'] [data-component-part=card-icon]{background-color:#fbca00}body[data-current-path^='/neki'] [data-component-part=card-icon] svg.bg-primary{background-color:#1a1a1a;transform:scale(.7);transform-origin:center}body[data-current-path^='/neki'] .border-primary{border-color:#8f7200}body[data-current-path^='/neki'] #table-of-contents-content .text-primary{color:#1a1a1a;background-color:transparent;border-color:#fbca00}body[data-current-path^='/neki'] .eyebrow{display:inline-flex;align-items:center;width:fit-content;height:auto;min-height:1.25rem;padding:0 .375rem;color:#1a1a1a;background-color:#fbca00}body[data-current-path^='/neki'] .eyebrow:empty,body[data-current-path^='/neki'] .eyebrow[data-empty]{display:none}.dark body[data-current-path^='/neki'] .card-group .card:hover,body[data-current-path^='/neki'] .card-group .card:hover{--primary:251 202 0;--primary-light:251 202 0;border-color:#fbca00!important}.dark body[data-current-path^='/neki'] [data-component-part=card-icon],.dark body[data-current-path^='/neki'] svg.bg-primary{background-color:#fbca00}.dark body[data-current-path^='/neki'] [data-component-part=card-icon] svg.bg-primary{background-color:#1a1a1a}.dark body[data-current-path^='/neki'] .border-primary{border-color:#fbca00}.dark body[data-current-path^='/neki'] #table-of-contents-content .text-primary{color:#fafafa;background-color:transparent;border-color:#fbca00}.dark body[data-current-path^='/neki'] .eyebrow{color:#1a1a1a;background-color:#fbca00}footer div:last-child{display:none}#header,#pagination a,[data-component-part=card-content-container],[data-component-part=frame-caption]{text-wrap:balance}.step:last-of-type [data-component-part=step-line]{opacity:0}"}],"page":{"pagePath":"agents/grok-bot","slug":"/agents/grok-bot","pageMetadata":{"title":"Grok Bot","description":"Set up PlanetScale Bot to answer database questions, investigate performance, and follow webhook events.","og:image":"images/og/agents/grok-bot.png","href":"/agents/grok-bot"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Set up PlanetScale Bot to answer database questions, investigate performance, and follow webhook events.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Card,CardGroup,CodeBlock,Frame,Heading,OptimizedImage,Step,Steps}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`PlanetScale Bot helps you get started with PlanetScale, understand database performance, and fix slow or failing queries using its `,_jsx(_components.a,{href:`/mcp-server`,children:`MCP server`}),` and installed skills.`]}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Add PlanetScale Bot`,icon:`robot`,href:`https://x.ai/bot/0hgwu8KbM0FIY-idg0x6L`,children:_jsx(_components.p,{children:`Open the PlanetScale Bot by PlanetScale template, then choose Add to Grok Bot.`})}),_jsx(Card,{title:`Connect the PlanetScale plugin`,icon:`plug`,href:`https://x.ai/bot/plugin/741`,children:_jsx(_components.p,{children:`Add PlanetScale to Grok Bot and authorize access to your databases.`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-begin`,children:`Before you begin`}),`\n`,_jsx(_components.p,{children:`You need a PlanetScale account and access to the databases you want to investigate. If you are new to Grok Bot, start with these resources:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`https://x.ai/bot`,children:`Download Grok Bot`}),` and `,_jsx(_components.a,{href:`https://docs.x.ai/grok-bot/get-started`,children:`follow the getting-started guide`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`https://docs.x.ai/grok-bot/mobile`,children:`Set up Grok Bot on mobile`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`https://cursor.com/help/grok-bot/connect-plugins`,children:`Connect plugins`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`add-planetscale-bot-and-connect-it-to-planetscale`,children:`Add PlanetScale Bot and connect it to PlanetScale`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Review and add the bot`,children:[_jsxs(_components.p,{children:[`Open the `,_jsx(_components.a,{href:`https://x.ai/bot/0hgwu8KbM0FIY-idg0x6L`,children:`PlanetScale Bot template`}),`. You should see PlanetScale Bot by PlanetScale.`]}),_jsxs(Frame,{children:[_jsx(OptimizedImage,{src:`https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-template-light.png?fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=72ee6c4537f6c21ff3710f258c696156`,alt:`PlanetScale Bot template details in Grok Bot, showing Context, PlanetScale Webhook Triage, and the PlanetScale integration`,className:`mint-block dark:mint-hidden`,\"data-og-width\":`364`,width:`364`,\"data-og-height\":`437`,height:`437`,\"data-path\":`agents/images/grok-bot-template-light.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-template-light.png?w=280\u0026fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=03d7b8eb088e91d36f5b2db7c96b15ac 280w, https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-template-light.png?w=560\u0026fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=20f0d81c6d370879ee9145b7a34caf8c 560w, https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-template-light.png?w=840\u0026fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=53b67d6c37ed56c0888a434ce1451cd5 840w, https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-template-light.png?w=1100\u0026fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=a10559b7fde8ed0b0edbcb7058718808 1100w, https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-template-light.png?w=1650\u0026fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=7dd1795efb566e2e251cebc61a425b81 1650w, https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-template-light.png?w=2500\u0026fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=87cf56df61b0eed94a2e05e80223b9a0 2500w`}),_jsx(OptimizedImage,{src:`https://mintcdn.com/planetscale-2/GR9LZ4CbHZX3kjv_/agents/images/grok-bot-template-dark.png?fit=max\u0026auto=format\u0026n=GR9LZ4CbHZX3kjv_\u0026q=85\u0026s=f769afc318d7646e7b7b0ae9be4820d0`,alt:`PlanetScale Bot template details in Grok Bot, showing Context, PlanetScale Webhook Triage, and the PlanetScale integration`,className:`mint-hidden dark:mint-block`,\"data-og-width\":`2090`,width:`2090`,\"data-og-height\":`1752`,height:`1752`,\"data-path\":`agents/images/grok-bot-template-dark.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/planetscale-2/GR9LZ4CbHZX3kjv_/agents/images/grok-bot-template-dark.png?w=280\u0026fit=max\u0026auto=format\u0026n=GR9LZ4CbHZX3kjv_\u0026q=85\u0026s=dc06ccd2d6ff3dec015d2428a1f06b73 280w, https://mintcdn.com/planetscale-2/GR9LZ4CbHZX3kjv_/agents/images/grok-bot-template-dark.png?w=560\u0026fit=max\u0026auto=format\u0026n=GR9LZ4CbHZX3kjv_\u0026q=85\u0026s=995af10be99a2444f9f8e09ee9f30725 560w, https://mintcdn.com/planetscale-2/GR9LZ4CbHZX3kjv_/agents/images/grok-bot-template-dark.png?w=840\u0026fit=max\u0026auto=format\u0026n=GR9LZ4CbHZX3kjv_\u0026q=85\u0026s=be767413e8483e475f39b5e48b96cd27 840w, https://mintcdn.com/planetscale-2/GR9LZ4CbHZX3kjv_/agents/images/grok-bot-template-dark.png?w=1100\u0026fit=max\u0026auto=format\u0026n=GR9LZ4CbHZX3kjv_\u0026q=85\u0026s=e1342fcac415059b430e331b662d5a0d 1100w, https://mintcdn.com/planetscale-2/GR9LZ4CbHZX3kjv_/agents/images/grok-bot-template-dark.png?w=1650\u0026fit=max\u0026auto=format\u0026n=GR9LZ4CbHZX3kjv_\u0026q=85\u0026s=13064841d5c0f61eff6d2e08219f1c77 1650w, https://mintcdn.com/planetscale-2/GR9LZ4CbHZX3kjv_/agents/images/grok-bot-template-dark.png?w=2500\u0026fit=max\u0026auto=format\u0026n=GR9LZ4CbHZX3kjv_\u0026q=85\u0026s=58225b4ac23bcd126eb1fa2bfd489758 2500w`})]})]}),_jsxs(Step,{title:`Let the agent set itself up`,children:[_jsxs(_components.p,{children:[`PlanetScale Bot creates its memories, skills, and `,_jsx(_components.strong,{children:`PlanetScale Webhook Triage`}),` routine, then prompts you to install the PlanetScale plugin. The routine starts paused.`]}),_jsxs(Frame,{children:[_jsx(OptimizedImage,{src:`https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-setup-light.png?fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=905f2681d12d818da86d737df969f384`,alt:`PlanetScale Bot setting itself up and creating the PlanetScale Webhook Triage routine`,className:`mint-block dark:mint-hidden`,\"data-og-width\":`1295`,width:`1295`,\"data-og-height\":`380`,height:`380`,\"data-path\":`agents/images/grok-bot-setup-light.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-setup-light.png?w=280\u0026fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=aacc360032fb4c47bec629f540475942 280w, https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-setup-light.png?w=560\u0026fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=2dc950ffcad2c10edfffe5ff47e1f3cb 560w, https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-setup-light.png?w=840\u0026fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=c8637a2505321c1ebb7a04140c262c0b 840w, https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-setup-light.png?w=1100\u0026fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=0fc98dcf838a638ad3b2cb4d07b23592 1100w, https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-setup-light.png?w=1650\u0026fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=3734a5410b32f21d05696cde406a5639 1650w, https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-setup-light.png?w=2500\u0026fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=412fe8b25bd42d6e5d800ffb2fac1898 2500w`}),_jsx(OptimizedImage,{src:`https://mintcdn.com/planetscale-2/GR9LZ4CbHZX3kjv_/agents/images/grok-bot-setup-dark.png?fit=max\u0026auto=format\u0026n=GR9LZ4CbHZX3kjv_\u0026q=85\u0026s=3766ad60444a9a4aa852e9e7cdc6f97e`,alt:`PlanetScale Bot setting itself up and creating the PlanetScale Webhook Triage routine`,className:`mint-hidden dark:mint-block`,\"data-og-width\":`2320`,width:`2320`,\"data-og-height\":`892`,height:`892`,\"data-path\":`agents/images/grok-bot-setup-dark.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/planetscale-2/GR9LZ4CbHZX3kjv_/agents/images/grok-bot-setup-dark.png?w=280\u0026fit=max\u0026auto=format\u0026n=GR9LZ4CbHZX3kjv_\u0026q=85\u0026s=b59feae5a2edcd7a658fdd65aa0be432 280w, https://mintcdn.com/planetscale-2/GR9LZ4CbHZX3kjv_/agents/images/grok-bot-setup-dark.png?w=560\u0026fit=max\u0026auto=format\u0026n=GR9LZ4CbHZX3kjv_\u0026q=85\u0026s=6b25061e81ba45ee807b45b4a99b8519 560w, https://mintcdn.com/planetscale-2/GR9LZ4CbHZX3kjv_/agents/images/grok-bot-setup-dark.png?w=840\u0026fit=max\u0026auto=format\u0026n=GR9LZ4CbHZX3kjv_\u0026q=85\u0026s=e5e438c7ce160c7a3d7100a7a64c31c4 840w, https://mintcdn.com/planetscale-2/GR9LZ4CbHZX3kjv_/agents/images/grok-bot-setup-dark.png?w=1100\u0026fit=max\u0026auto=format\u0026n=GR9LZ4CbHZX3kjv_\u0026q=85\u0026s=3b6378d162407a28a020d6452d051b4e 1100w, https://mintcdn.com/planetscale-2/GR9LZ4CbHZX3kjv_/agents/images/grok-bot-setup-dark.png?w=1650\u0026fit=max\u0026auto=format\u0026n=GR9LZ4CbHZX3kjv_\u0026q=85\u0026s=4c312bcb7af246ca20a849e1f2368c11 1650w, https://mintcdn.com/planetscale-2/GR9LZ4CbHZX3kjv_/agents/images/grok-bot-setup-dark.png?w=2500\u0026fit=max\u0026auto=format\u0026n=GR9LZ4CbHZX3kjv_\u0026q=85\u0026s=258af2a2ba1adff16a8f86edcd2404e9 2500w`})]})]}),_jsxs(Step,{title:`Install the PlanetScale plugin`,children:[_jsxs(_components.p,{children:[`Accept the PlanetScale plugin installation prompt. If you don’t see it, open the `,_jsx(_components.a,{href:`https://x.ai/bot/plugin/741`,children:`PlanetScale plugin`}),` and choose `,_jsx(_components.strong,{children:`Add`}),`.`]}),_jsxs(Frame,{children:[_jsx(OptimizedImage,{src:`https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-install-light.png?fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=8462e22410850199d6b56c0be21e6d9c`,alt:`PlanetScale Bot confirming setup is complete and showing the accepted PlanetScale plugin installation prompt`,className:`mint-block dark:mint-hidden`,\"data-og-width\":`1130`,width:`1130`,\"data-og-height\":`510`,height:`510`,\"data-path\":`agents/images/grok-bot-install-light.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-install-light.png?w=280\u0026fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=9a1ecdddf307f61a15f2ab7d1c23e481 280w, https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-install-light.png?w=560\u0026fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=dbfd60a88abff021516f03b36809fd31 560w, https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-install-light.png?w=840\u0026fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=18e75a187b7a3b961830481572de7e3c 840w, https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-install-light.png?w=1100\u0026fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=4e2cee094011f153c3facfe96ab9185d 1100w, https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-install-light.png?w=1650\u0026fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=ddaea71f0acd440134482ab68a1e65c1 1650w, https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-install-light.png?w=2500\u0026fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=e06bc749914a366db9b46b660ea48375 2500w`}),_jsx(OptimizedImage,{src:`https://mintcdn.com/planetscale-2/GR9LZ4CbHZX3kjv_/agents/images/grok-bot-install-dark.png?fit=max\u0026auto=format\u0026n=GR9LZ4CbHZX3kjv_\u0026q=85\u0026s=6bff384c8ecaaab942580089c6a4a719`,alt:`PlanetScale Bot confirming setup is complete and showing the accepted PlanetScale plugin installation prompt`,className:`mint-hidden dark:mint-block`,\"data-og-width\":`1996`,width:`1996`,\"data-og-height\":`1238`,height:`1238`,\"data-path\":`agents/images/grok-bot-install-dark.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/planetscale-2/GR9LZ4CbHZX3kjv_/agents/images/grok-bot-install-dark.png?w=280\u0026fit=max\u0026auto=format\u0026n=GR9LZ4CbHZX3kjv_\u0026q=85\u0026s=004722a7f2f2b857956225fd7ff4e08b 280w, https://mintcdn.com/planetscale-2/GR9LZ4CbHZX3kjv_/agents/images/grok-bot-install-dark.png?w=560\u0026fit=max\u0026auto=format\u0026n=GR9LZ4CbHZX3kjv_\u0026q=85\u0026s=51242d4aa17ff7ee096dcc7db5db5eba 560w, https://mintcdn.com/planetscale-2/GR9LZ4CbHZX3kjv_/agents/images/grok-bot-install-dark.png?w=840\u0026fit=max\u0026auto=format\u0026n=GR9LZ4CbHZX3kjv_\u0026q=85\u0026s=afdbc3b2175fa7a2390338c476dd4dbc 840w, https://mintcdn.com/planetscale-2/GR9LZ4CbHZX3kjv_/agents/images/grok-bot-install-dark.png?w=1100\u0026fit=max\u0026auto=format\u0026n=GR9LZ4CbHZX3kjv_\u0026q=85\u0026s=f900b9c0d2f556ad6002e6a431fb1582 1100w, https://mintcdn.com/planetscale-2/GR9LZ4CbHZX3kjv_/agents/images/grok-bot-install-dark.png?w=1650\u0026fit=max\u0026auto=format\u0026n=GR9LZ4CbHZX3kjv_\u0026q=85\u0026s=a53044d47c40fc7ef9c54045a72a6b11 1650w, https://mintcdn.com/planetscale-2/GR9LZ4CbHZX3kjv_/agents/images/grok-bot-install-dark.png?w=2500\u0026fit=max\u0026auto=format\u0026n=GR9LZ4CbHZX3kjv_\u0026q=85\u0026s=acf2bcb88cae4d85ba231af0ef87f275 2500w`})]})]}),_jsxs(Step,{title:`Authorize PlanetScale`,children:[_jsxs(_components.p,{children:[`Choose `,_jsx(_components.strong,{children:`Authorize`}),` on the PlanetScale card and follow the PlanetScale authorization flow in your browser.`]}),_jsxs(Frame,{children:[_jsx(OptimizedImage,{src:`https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-authorize-light.png?fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=4c79c057156265b298964d6171ce3550`,alt:`PlanetScale installed with an Authorize button on its connection card`,className:`mint-block dark:mint-hidden`,\"data-og-width\":`1130`,width:`1130`,\"data-og-height\":`325`,height:`325`,\"data-path\":`agents/images/grok-bot-authorize-light.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-authorize-light.png?w=280\u0026fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=7773d7e124c7f7cceb587e47b9c8432e 280w, https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-authorize-light.png?w=560\u0026fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=a29bd9dd586a94578ded320ad4b86356 560w, https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-authorize-light.png?w=840\u0026fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=f122229ef42404b8ccc676b4141f4068 840w, https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-authorize-light.png?w=1100\u0026fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=0d0e78ebeff8f500fa8461499c801345 1100w, https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-authorize-light.png?w=1650\u0026fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=1c618c03c7bd73a84f9a703edfaa561e 1650w, https://mintcdn.com/planetscale-2/ogPtjo9qMB1g5dXJ/agents/images/grok-bot-authorize-light.png?w=2500\u0026fit=max\u0026auto=format\u0026n=ogPtjo9qMB1g5dXJ\u0026q=85\u0026s=df223b7e87f7d72a4755f068eec5239b 2500w`}),_jsx(OptimizedImage,{src:`https://mintcdn.com/planetscale-2/yy5k-2wTgBPkcFFK/agents/images/grok-bot-authorize-dark.png?fit=max\u0026auto=format\u0026n=yy5k-2wTgBPkcFFK\u0026q=85\u0026s=031f6d8f90621f41217963394b5c6733`,alt:`PlanetScale installed with an Authorize button on its connection card`,className:`mint-hidden dark:mint-block`,\"data-og-width\":`2636`,width:`2636`,\"data-og-height\":`920`,height:`920`,\"data-path\":`agents/images/grok-bot-authorize-dark.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/planetscale-2/yy5k-2wTgBPkcFFK/agents/images/grok-bot-authorize-dark.png?w=280\u0026fit=max\u0026auto=format\u0026n=yy5k-2wTgBPkcFFK\u0026q=85\u0026s=f1d593014b79b7de6d5ca625553cfdf2 280w, https://mintcdn.com/planetscale-2/yy5k-2wTgBPkcFFK/agents/images/grok-bot-authorize-dark.png?w=560\u0026fit=max\u0026auto=format\u0026n=yy5k-2wTgBPkcFFK\u0026q=85\u0026s=580724f9d6c0abf9edf78abffaf588da 560w, https://mintcdn.com/planetscale-2/yy5k-2wTgBPkcFFK/agents/images/grok-bot-authorize-dark.png?w=840\u0026fit=max\u0026auto=format\u0026n=yy5k-2wTgBPkcFFK\u0026q=85\u0026s=5c5aec5c6e62b0a350d3febc4be9de88 840w, https://mintcdn.com/planetscale-2/yy5k-2wTgBPkcFFK/agents/images/grok-bot-authorize-dark.png?w=1100\u0026fit=max\u0026auto=format\u0026n=yy5k-2wTgBPkcFFK\u0026q=85\u0026s=762005c060974cad53fa52d2afe72b81 1100w, https://mintcdn.com/planetscale-2/yy5k-2wTgBPkcFFK/agents/images/grok-bot-authorize-dark.png?w=1650\u0026fit=max\u0026auto=format\u0026n=yy5k-2wTgBPkcFFK\u0026q=85\u0026s=a23718e86eab29a8bd279c3e58529aae 1650w, https://mintcdn.com/planetscale-2/yy5k-2wTgBPkcFFK/agents/images/grok-bot-authorize-dark.png?w=2500\u0026fit=max\u0026auto=format\u0026n=yy5k-2wTgBPkcFFK\u0026q=85\u0026s=09e5e045a69554b6f304162d4e96d4ba 2500w`})]})]}),_jsx(Step,{title:`Choose a database`,children:_jsx(_components.p,{children:`Tell the bot which organization, database, and branch to use. Ask it to verify access with a read-only check before investigating.`})})]}),`\n`,_jsx(_components.p,{children:`For example:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Use PlanetScale organization \u003corganization>, database \u003cdatabase>, branch \u003cbranch>.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Confirm you can access it, then explain which queries account for the most`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`execution time in Insights. Show your evidence and suggested next steps.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Do not change the database.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`connect-a-codebase-optional`,children:`Connect a codebase (optional)`}),`\n`,_jsxs(_components.p,{children:[`With access to your repository, PlanetScale Bot can trace database issues back to your code and help fix them via `,_jsx(_components.a,{href:`https://cursor.com/docs/cloud-agent`,children:`Cursor Cloud Agents`}),`. Tell the bot which repository to work on. If it is not already connected to Cursor, connect your source control account through `,_jsx(_components.a,{href:`https://cursor.com/dashboard/integrations`,children:`Cursor Integrations`}),`. See `,_jsx(_components.a,{href:`https://cursor.com/docs/grok-bot/work`,children:`Work with Grok Bot`}),` for more.`]}),`\n`,_jsx(Heading,{level:`2`,id:`setting-up-the-webhook-routine`,children:`Setting up the webhook routine`}),`\n`,_jsx(_components.p,{children:`Webhooks are optional. They let PlanetScale Bot investigate events as they arrive, check whether database changes completed, and flag what needs your attention. Without webhooks, the bot responds when you ask.`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Configure and enable the routine`,children:[_jsxs(_components.p,{children:[`Ask the bot to configure `,_jsx(_components.strong,{children:`PlanetScale Webhook Triage`}),` for your chosen organizations and databases, then turn it on. Open the routine to find its `,_jsx(_components.strong,{children:`Webhook URL`}),` and `,_jsx(_components.strong,{children:`Authorization header`}),`.`]}),_jsxs(Frame,{caption:`Webhook credentials are hidden in this screenshot.`,children:[_jsx(OptimizedImage,{src:`https://mintcdn.com/planetscale-2/0gogNjLFt8syD9n_/agents/images/grok-bot-webhook-settings-light.png?fit=max\u0026auto=format\u0026n=0gogNjLFt8syD9n_\u0026q=85\u0026s=9af534edae64e00d9f157d8d2933b91e`,alt:`PlanetScale Webhook Triage routine settings showing the active toggle and webhook endpoint, key, and header with values obscured`,className:`mint-block dark:mint-hidden`,\"data-og-width\":`2486`,width:`2486`,\"data-og-height\":`1948`,height:`1948`,\"data-path\":`agents/images/grok-bot-webhook-settings-light.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/planetscale-2/0gogNjLFt8syD9n_/agents/images/grok-bot-webhook-settings-light.png?w=280\u0026fit=max\u0026auto=format\u0026n=0gogNjLFt8syD9n_\u0026q=85\u0026s=b3f189b46e2c1e3b3e7c6233cb5a3fd8 280w, https://mintcdn.com/planetscale-2/0gogNjLFt8syD9n_/agents/images/grok-bot-webhook-settings-light.png?w=560\u0026fit=max\u0026auto=format\u0026n=0gogNjLFt8syD9n_\u0026q=85\u0026s=04f2e732b08acf197597c1f30ce67ade 560w, https://mintcdn.com/planetscale-2/0gogNjLFt8syD9n_/agents/images/grok-bot-webhook-settings-light.png?w=840\u0026fit=max\u0026auto=format\u0026n=0gogNjLFt8syD9n_\u0026q=85\u0026s=70ce4680580eda377e78f340c26dc1fb 840w, https://mintcdn.com/planetscale-2/0gogNjLFt8syD9n_/agents/images/grok-bot-webhook-settings-light.png?w=1100\u0026fit=max\u0026auto=format\u0026n=0gogNjLFt8syD9n_\u0026q=85\u0026s=05bed97f9b6eafa00be59bcd38ae2118 1100w, https://mintcdn.com/planetscale-2/0gogNjLFt8syD9n_/agents/images/grok-bot-webhook-settings-light.png?w=1650\u0026fit=max\u0026auto=format\u0026n=0gogNjLFt8syD9n_\u0026q=85\u0026s=566c6b4a4a638d77d0ccb797fdd85b75 1650w, https://mintcdn.com/planetscale-2/0gogNjLFt8syD9n_/agents/images/grok-bot-webhook-settings-light.png?w=2500\u0026fit=max\u0026auto=format\u0026n=0gogNjLFt8syD9n_\u0026q=85\u0026s=73c1c4a1396b0535f7eabfa014fcf72a 2500w`}),_jsx(OptimizedImage,{src:`https://mintcdn.com/planetscale-2/0gogNjLFt8syD9n_/agents/images/grok-bot-webhook-settings-dark.png?fit=max\u0026auto=format\u0026n=0gogNjLFt8syD9n_\u0026q=85\u0026s=36c662fecf54f24f8f1fcbc372b34504`,alt:`PlanetScale Webhook Triage routine settings showing the active toggle and webhook endpoint, key, and header with values obscured`,className:`mint-hidden dark:mint-block`,\"data-og-width\":`2488`,width:`2488`,\"data-og-height\":`1950`,height:`1950`,\"data-path\":`agents/images/grok-bot-webhook-settings-dark.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/planetscale-2/0gogNjLFt8syD9n_/agents/images/grok-bot-webhook-settings-dark.png?w=280\u0026fit=max\u0026auto=format\u0026n=0gogNjLFt8syD9n_\u0026q=85\u0026s=32874996f3a2369f4fe385378ba2a943 280w, https://mintcdn.com/planetscale-2/0gogNjLFt8syD9n_/agents/images/grok-bot-webhook-settings-dark.png?w=560\u0026fit=max\u0026auto=format\u0026n=0gogNjLFt8syD9n_\u0026q=85\u0026s=ec86b81cac760e759b11c5b6f9abf64a 560w, https://mintcdn.com/planetscale-2/0gogNjLFt8syD9n_/agents/images/grok-bot-webhook-settings-dark.png?w=840\u0026fit=max\u0026auto=format\u0026n=0gogNjLFt8syD9n_\u0026q=85\u0026s=13c6546707fd940a8ecc400d4248b969 840w, https://mintcdn.com/planetscale-2/0gogNjLFt8syD9n_/agents/images/grok-bot-webhook-settings-dark.png?w=1100\u0026fit=max\u0026auto=format\u0026n=0gogNjLFt8syD9n_\u0026q=85\u0026s=7ea6b08b7fffd0b75aa456648c1341bb 1100w, https://mintcdn.com/planetscale-2/0gogNjLFt8syD9n_/agents/images/grok-bot-webhook-settings-dark.png?w=1650\u0026fit=max\u0026auto=format\u0026n=0gogNjLFt8syD9n_\u0026q=85\u0026s=1c1cd8447b9d790e8f0cd50343d885e4 1650w, https://mintcdn.com/planetscale-2/0gogNjLFt8syD9n_/agents/images/grok-bot-webhook-settings-dark.png?w=2500\u0026fit=max\u0026auto=format\u0026n=0gogNjLFt8syD9n_\u0026q=85\u0026s=780eb172458e19d8b1077638fd2ddf4c 2500w`})]})]}),_jsxs(Step,{title:`Add the webhook in PlanetScale`,children:[_jsxs(_components.p,{children:[`In your database’s `,_jsx(_components.strong,{children:`Settings → Webhooks → Add webhook`}),`, paste the routine’s Webhook URL into `,_jsx(_components.strong,{children:`URL`}),` and the header value into `,_jsx(_components.strong,{children:`Authorization header`}),`, including the scheme, such as `,_jsx(_components.code,{children:`Bearer \u003ctoken>`}),`, without the `,_jsx(_components.code,{children:`Authorization:`}),` label.`]}),_jsxs(Frame,{children:[_jsx(OptimizedImage,{src:`https://mintcdn.com/planetscale-2/Qv8bmPHOBgofISPU/agents/images/grok-bot-add-webhook-light.png?fit=max\u0026auto=format\u0026n=Qv8bmPHOBgofISPU\u0026q=85\u0026s=60e2c37b6fe9aa35fabb6917aeebe60f`,alt:`PlanetScale Add webhook form with URL, Authorization header, and event selection fields`,className:`mint-block dark:mint-hidden`,\"data-og-width\":`2658`,width:`2658`,\"data-og-height\":`2010`,height:`2010`,\"data-path\":`agents/images/grok-bot-add-webhook-light.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/planetscale-2/Qv8bmPHOBgofISPU/agents/images/grok-bot-add-webhook-light.png?w=280\u0026fit=max\u0026auto=format\u0026n=Qv8bmPHOBgofISPU\u0026q=85\u0026s=e3aa0c8f0a820f83bd7effa9006e665c 280w, https://mintcdn.com/planetscale-2/Qv8bmPHOBgofISPU/agents/images/grok-bot-add-webhook-light.png?w=560\u0026fit=max\u0026auto=format\u0026n=Qv8bmPHOBgofISPU\u0026q=85\u0026s=567d85d0b9a96fef904cf8fb972e8b56 560w, https://mintcdn.com/planetscale-2/Qv8bmPHOBgofISPU/agents/images/grok-bot-add-webhook-light.png?w=840\u0026fit=max\u0026auto=format\u0026n=Qv8bmPHOBgofISPU\u0026q=85\u0026s=dec92eb57d53b7fb9d0a156d2b825625 840w, https://mintcdn.com/planetscale-2/Qv8bmPHOBgofISPU/agents/images/grok-bot-add-webhook-light.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Qv8bmPHOBgofISPU\u0026q=85\u0026s=034f6af19f985fac1367f2972c59d637 1100w, https://mintcdn.com/planetscale-2/Qv8bmPHOBgofISPU/agents/images/grok-bot-add-webhook-light.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Qv8bmPHOBgofISPU\u0026q=85\u0026s=8adaf47ce18f8d8aded07c59d6a99cfd 1650w, https://mintcdn.com/planetscale-2/Qv8bmPHOBgofISPU/agents/images/grok-bot-add-webhook-light.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Qv8bmPHOBgofISPU\u0026q=85\u0026s=9455137ed16cfa57887b6cef5708359c 2500w`}),_jsx(OptimizedImage,{src:`https://mintcdn.com/planetscale-2/Qv8bmPHOBgofISPU/agents/images/grok-bot-add-webhook-dark.png?fit=max\u0026auto=format\u0026n=Qv8bmPHOBgofISPU\u0026q=85\u0026s=2e26b62eb1c8df9dfcf9ed45a45a6bed`,alt:`PlanetScale Add webhook form with URL, Authorization header, and event selection fields`,className:`mint-hidden dark:mint-block`,\"data-og-width\":`2658`,width:`2658`,\"data-og-height\":`2010`,height:`2010`,\"data-path\":`agents/images/grok-bot-add-webhook-dark.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/planetscale-2/Qv8bmPHOBgofISPU/agents/images/grok-bot-add-webhook-dark.png?w=280\u0026fit=max\u0026auto=format\u0026n=Qv8bmPHOBgofISPU\u0026q=85\u0026s=83edb319e893204cc8d275ff477a07c7 280w, https://mintcdn.com/planetscale-2/Qv8bmPHOBgofISPU/agents/images/grok-bot-add-webhook-dark.png?w=560\u0026fit=max\u0026auto=format\u0026n=Qv8bmPHOBgofISPU\u0026q=85\u0026s=9b0cc88cc795c7670af2019f13d8e4a5 560w, https://mintcdn.com/planetscale-2/Qv8bmPHOBgofISPU/agents/images/grok-bot-add-webhook-dark.png?w=840\u0026fit=max\u0026auto=format\u0026n=Qv8bmPHOBgofISPU\u0026q=85\u0026s=d3778c9d13518b31c3acdf7cc6914656 840w, https://mintcdn.com/planetscale-2/Qv8bmPHOBgofISPU/agents/images/grok-bot-add-webhook-dark.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Qv8bmPHOBgofISPU\u0026q=85\u0026s=1d05c168b65f4175043b06b8af921feb 1100w, https://mintcdn.com/planetscale-2/Qv8bmPHOBgofISPU/agents/images/grok-bot-add-webhook-dark.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Qv8bmPHOBgofISPU\u0026q=85\u0026s=d7b05318a62ca730c81ab68db6a978d8 1650w, https://mintcdn.com/planetscale-2/Qv8bmPHOBgofISPU/agents/images/grok-bot-add-webhook-dark.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Qv8bmPHOBgofISPU\u0026q=85\u0026s=23baeb71e7ae9ed07b90958ad26c3c7d 2500w`})]})]}),_jsxs(Step,{title:`Choose events and test delivery`,children:[_jsxs(_components.p,{children:[`Choose the `,_jsx(_components.a,{href:`/api/webhook-events`,children:`events you want the bot to follow`}),`, save the webhook, and use `,_jsx(_components.strong,{children:`Test webhook`}),`. Confirm delivery in PlanetScale and acknowledgment in Grok Bot.`]}),_jsx(_components.p,{children:`Webhooks cover supported events; they don’t notify the bot about every slow query or CPU spike.`})]})]}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/api/webhooks`,children:`Setting up webhooks`}),` for more details.`]}),`\n`,_jsx(Heading,{level:`2`,id:`need-help`,children:`Need help?`}),`\n`,_jsxs(_components.p,{children:[`Get help from `,_jsx(_components.a,{href:`https://planetscale.com/contact?initial=support`,children:`the PlanetScale Support team`}),`, or join our\\xA0`,_jsx(_components.a,{href:`https://pscale.link/community`,children:`Discord community`}),` to see how others are using PlanetScale.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Grok Bot","description":"Set up PlanetScale Bot to answer database questions, investigate performance, and follow webhook events.","og:image":"images/og/agents/grok-bot.png","href":"/agents/grok-bot"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Before you begin","slug":"before-you-begin","depth":2,"children":[]},{"title":"Add PlanetScale Bot and connect it to PlanetScale","slug":"add-planetscale-bot-and-connect-it-to-planetscale","depth":2,"children":[]},{"title":"Connect a codebase (optional)","slug":"connect-a-codebase-optional","depth":2,"children":[]},{"title":"Setting up the webhook routine","slug":"setting-up-the-webhook-routine","depth":2,"children":[]},{"title":"Need help?","slug":"need-help","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/planetscale-2/b155242ec3c4945e/custom.js"],"dynamicCss":".mint-block {\n display: block\n}\n.mint-hidden {\n display: none\n}\n.dark\\:mint-block:is(.dark *) {\n display: block\n}\n.dark\\:mint-hidden:is(.dark *) {\n display: none\n}","subdomain":"planetscale-2","siteName":"PlanetScale","title":"Grok Bot - PlanetScale","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-16T09:38:59.345Z","originalFileLocation":"agents/grok-bot.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Set up PlanetScale Bot to answer database questions, investigate performance, and follow webhook events.\">\u003cmeta data-mint-head name=\"application-name\" content=\"PlanetScale\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/planetscale-2/_bFyi8IG4CeLblEd/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/planetscale-2/_bFyi8IG4CeLblEd/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/planetscale-2/_bFyi8IG4CeLblEd/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/planetscale-2/_bFyi8IG4CeLblEd/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/planetscale-2/_bFyi8IG4CeLblEd/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/planetscale-2/_bFyi8IG4CeLblEd/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/planetscale-2/_bFyi8IG4CeLblEd/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/planetscale-2/_bFyi8IG4CeLblEd/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/planetscale-2/_bFyi8IG4CeLblEd/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Grok Bot - PlanetScale\">\u003cmeta data-mint-head property=\"og:description\" content=\"Set up PlanetScale Bot to answer database questions, investigate performance, and follow webhook events.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"PlanetScale\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://planetscale.com/docs/agents/grok-bot\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://planetscale-2.mintlify.app/images/og/agents/grok-bot.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Grok Bot - PlanetScale\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Set up PlanetScale Bot to answer database questions, investigate performance, and follow webhook events.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://planetscale-2.mintlify.app/images/og/agents/grok-bot.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/planetscale-2/_bFyi8IG4CeLblEd/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"PlanetScale\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0e73cc\">\u003clink data-mint-head rel=\"canonical\" href=\"https://planetscale.com/docs/agents/grok-bot\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/agents/grok-bot.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://planetscale.com/#organization\",\"name\":\"PlanetScale\",\"url\":\"https://planetscale.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/planetscale-2/xUilVHToUFALai8a/logo/light.png?fit=max\u0026auto=format\u0026n=xUilVHToUFALai8a\u0026q=85\u0026s=cccd3c9fc813c01b899ab7af15a115b1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://planetscale.com/docs#website\",\"name\":\"PlanetScale\",\"url\":\"https://planetscale.com/docs\",\"publisher\":{\"@id\":\"https://planetscale.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://planetscale.com/docs/agents/grok-bot#webpage\",\"url\":\"https://planetscale.com/docs/agents/grok-bot\",\"name\":\"Grok Bot\",\"description\":\"Set up PlanetScale Bot to answer database questions, investigate performance, and follow webhook events.\",\"dateModified\":\"2026-09-16T09:38:59.345Z\",\"isPartOf\":{\"@id\":\"https://planetscale.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://planetscale.com/docs/agents/grok-bot#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://planetscale.com/docs/agents/grok-bot#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Connect and automate\",\"item\":\"https://planetscale.com/docs/agents\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AI \u0026 automation\",\"item\":\"https://planetscale.com/docs/agents\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Grok Bot\",\"item\":\"https://planetscale.com/docs/agents/grok-bot\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://planetscale.com/docs/agents/grok-bot#article\",\"headline\":\"Grok Bot\",\"name\":\"Grok Bot\",\"description\":\"Set up PlanetScale Bot to answer database questions, investigate performance, and follow webhook events.\",\"url\":\"https://planetscale.com/docs/agents/grok-bot\",\"mainEntityOfPage\":{\"@id\":\"https://planetscale.com/docs/agents/grok-bot#webpage\"},\"image\":\"https://planetscale.com/docs/images/og/agents/grok-bot.png\",\"dateModified\":\"2026-09-16T09:38:59.345Z\",\"publisher\":{\"@id\":\"https://planetscale.com/#organization\"},\"isPartOf\":{\"@id\":\"https://planetscale.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"PlanetScale\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"PlanetScale","nav":{"global":{"anchors":[{"anchor":"Blog","icon":"newspaper","href":"https://planetscale.com/blog"},{"anchor":"Contact Us","icon":"headset","href":"https://planetscale.com/contact"},{"anchor":"Status","icon":"signal","href":"https://www.planetscalestatus.com/"},{"anchor":"Benchmarks","icon":"chart-line","href":"https://planetscale.com/benchmarks"}]},"tabs":[{"tab":"Platform","groups":[{"group":" ","pages":[{"title":"PlanetScale","sidebarTitle":"PlanetScale","href":""}]},{"group":"Product","pages":[{"title":"What is PlanetScale?","href":"/what-is-planetscale"},{"title":"Vitess, Neki, and Postgres","href":"/postgres-vs-vitess"},{"group":"Metal","pages":[{"title":"PlanetScale Metal","sidebarTitle":"Metal overview","href":"/metal"},{"title":"Create a Metal database","sidebarTitle":"Create or upgrade","href":"/metal/create-a-metal-database"},{"title":"PlanetScale plans","sidebarTitle":"Plans","href":"/planetscale-plans"},{"title":"How to check performance after upgrading to Metal","sidebarTitle":"Performance","href":"/metal/metal-performance"}]}]},{"group":"Connect and automate","pages":[{"group":"AI \u0026 automation","pages":[{"title":"Agents","description":"Use agents with PlanetScale to answer database questions, investigate performance, and prepare fixes.","href":"/agents"},{"title":"Grok Bot","href":"/agents/grok-bot"},{"title":"Agent setup prompt","description":"PlanetScale instructions for AI agents to install skills, configure MCP, and authenticate the CLI.","sidebarTitle":"Agent setup prompt","href":"/agent-setup/prompt"},{"title":"AI-enhanced development","href":"/ai-tooling"},{"title":"Self-improving database","sidebarTitle":"Self-improving database","href":"/self-improving-database"}]},{"group":"MCP","pages":[{"title":"PlanetScale Model Context Protocol (MCP)","sidebarTitle":"Overview","href":"/mcp-server"},{"title":"Authenticate the MCP server with a service token","sidebarTitle":"Service tokens","href":"/mcp/service-token"}]},{"title":"Stripe Projects","href":"/connect/stripe-projects"},{"title":"Cloudflare","sidebarTitle":"Cloudflare","href":"/connect/cloudflare"},{"title":"PlanetScale Terraform provider","sidebarTitle":"Terraform provider","href":"/terraform"}]},{"group":"Plans and billing","pages":[{"title":"Billing","sidebarTitle":"Billing overview","href":"/billing"},{"title":"PlanetScale plans","sidebarTitle":"Plans","href":"/planetscale-plans"},{"group":"PlanetScale Managed","pages":[{"title":"PlanetScale Managed overview","sidebarTitle":"Overview","href":"/plans/managed"},{"group":"AWS","pages":[{"title":"PlanetScale Managed on AWS overview","sidebarTitle":"Overview","href":"/plans/managed/aws"},{"title":"Set up PlanetScale Managed in AWS","sidebarTitle":"Set up PlanetScale Managed","href":"/plans/managed/aws/getting-started"},{"title":"Set up AWS PrivateLink with PlanetScale Managed","sidebarTitle":"Set up AWS PrivateLink","href":"/plans/managed/aws/privatelink"},{"title":"Set up AWS VPC peering with PlanetScale Managed","sidebarTitle":"Set up AWS VPC peering","href":"/plans/managed/aws/vpc-peering"},{"title":"Set up AWS Reverse PrivateLink with PlanetScale Managed","sidebarTitle":"Set up AWS Reverse PrivateLink","href":"/plans/managed/aws/reverse-privatelink"},{"title":"Back up and restore in AWS","sidebarTitle":"Back up and restore","href":"/plans/managed/aws/back-up-and-restore"}]},{"group":"Azure","pages":[{"title":"PlanetScale Managed on Azure overview","sidebarTitle":"Overview","href":"/plans/managed/azure"},{"title":"Set up PlanetScale Managed in Azure","sidebarTitle":"Set up PlanetScale Managed","href":"/plans/managed/azure/getting-started"},{"title":"Set up Azure Private Link with PlanetScale Managed","sidebarTitle":"Azure Private Link","href":"/plans/managed/azure/private-link"}]},{"group":"GCP","pages":[{"title":"PlanetScale Managed on GCP overview","sidebarTitle":"Overview","href":"/plans/managed/gcp"},{"title":"Set up PlanetScale Managed in GCP","sidebarTitle":"Set up PlanetScale Managed","href":"/plans/managed/gcp/getting-started"},{"title":"Set up GCP Private Service Connect with PlanetScale Managed","sidebarTitle":"Set up GCP Private Service Connect","href":"/plans/managed/gcp/private-service-connect"},{"title":"Back up and restore in GCP","sidebarTitle":"Back up and restore","href":"/plans/managed/gcp/back-up-and-restore"}]},{"group":"Security and access","pages":[{"title":"User management","sidebarTitle":"User management","href":"/plans/managed/security-and-access/user-management"},{"title":"Cloud accounts and contents","sidebarTitle":"Cloud accounts and contents","href":"/plans/managed/security-and-access/cloud-accounts-and-contents"},{"title":"Data requests","href":"/plans/managed/security-and-access/data-requests"},{"title":"Schema snapshots","sidebarTitle":"Schema snapshots","href":"/plans/managed/security-and-access/schema-snapshots"}]},{"group":"Settings","pages":[{"title":"Maintenance schedules","sidebarTitle":"Maintenance schedules","href":"/plans/managed/maintenance-schedules"}]},{"title":"The proof of concept phase of an enterprise contract","sidebarTitle":"Proof of concept","href":"/plans/managed/proof-of-concept"}]},{"title":"Cluster sizes","sidebarTitle":"Cluster sizes","href":"/plans/planetscale-skus"},{"title":"Selecting a region","sidebarTitle":"Available regions","href":"/plans/regions"},{"title":"Deployment options","href":"/plans/deployment-options"},{"title":"PlanetScale Support","sidebarTitle":"Support plans","href":"/support"}]},{"group":"Security","pages":[{"title":"Security and compliance","sidebarTitle":"Overview","href":"/security"},{"title":"Vulnerability disclosure","href":"/security/vulnerability-disclosure"},{"title":"How PlanetScale uses AI","sidebarTitle":"How PlanetScale uses AI","href":"/how-we-use-ai"},{"group":"Account access","pages":[{"title":"Authentication methods","href":"/security/authentication-methods"},{"title":"Multi-factor authentication","href":"/security/multi-factor-authentication"},{"title":"Account password security","href":"/security/account-password-security"},{"title":"Security log","href":"/security/security-log"}]},{"group":"Organization access","pages":[{"title":"Access control","href":"/security/access-control"},{"title":"Single sign-on","href":"/security/sso"},{"title":"Audit log","href":"/security/audit-log"},{"title":"Teams","sidebarTitle":"Teams","href":"/security/teams"}]},{"group":"Database protection","pages":[{"title":"Deletion protection","sidebarTitle":"Deletion protection","href":"/security/deletion-protection"},{"title":"Require multiple administrators for deletion","sidebarTitle":"Multiple admins for deletion","href":"/security/multiple-admins-required-for-deletion"}]}]}]},{"tab":"Vitess","pages":[{"title":"Vitess","href":"/vitess"}]},{"tab":"Neki","pages":[{"title":"Neki","href":"/neki"}]},{"tab":"Postgres","pages":[{"title":"Postgres","href":"/postgres"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api/reference/getting-started-with-planetscale-api"}]},{"tab":"CLI Reference","pages":[{"title":"CLI Reference","href":"/cli"}]}]},"basePath":"","title":"Grok Bot - PlanetScale","buildId":"dpl_4RHMRqtvdHvKgaEfTTjFqjzja3B6","deploymentId":"dpl_4RHMRqtvdHvKgaEfTTjFqjzja3B6","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-CSp1VigC.js","DynamicMarkdown-Dnt6YhtR.js","zoom-image-lightbox-CZTaVDTN.js","lightbox-handle-r17bVUz3.js"]}