Connect Migma to Grok Bot, verify your brand, and create your first editable email draft before preparing an approved campaign.
Connect Migma to Grok Bot to create editable emails using your saved brand, review previews, prepare campaigns for opted-in subscribers, and read results. Start with one draft. Creating an email does not send it.This guide covers the Grok Bot desktop app. You need a Migma account, access to your brand, and permission to add connections in Grok Bot.
Quick start
Paste the setup prompt below into Grok Bot and approve the connection in your browser.
Ask Grok Bot to find your brand read-only. Confirm that the returned brand is yours.
Request one editable email draft. Open its preview and Migma canvas link before continuing.
Agent-guided Remote MCP setup is available in Grok Bot desktop with user approval. Marketplace availability and connector authentication vary by Grok build and workspace policy.
Use one write path per task. Finish or pause current work before switching between Migma MCP and browser operation. This prevents duplicate drafts.
Start email marketing with Grok Bot
Copy this prompt into Grok Bot:
Set up Migma so you can run my email marketing.Read https://docs.migma.ai/grok.md and reuse my existing Migma connection if available.Ask before adding a connection. I'll review access in my browser.Then find my brand [brand name] with a read-only request and report which tool succeeded.Do not create, import, schedule, or send anything during setup.
Illustration of Migma connecting to Grok Bot through Remote MCP
Before you start
You need:
A Migma account.
Grok Bot desktop with plugins and MCP connections allowed.
A browser for Migma access approval.
Team and Enterprise admins may need to allow the Migma server URL before members can connect it. Grok Bot follows the same plugin and MCP policy as Cursor.
Connect Migma from Grok Bot
The quickest path is the Migma plugin listing. Add it to Grok Bot, then approve access in your browser. Use the steps below if the listing is not available in your Grok build or workspace.
1
Ask Grok Bot to add Migma
Check Plugins → Your plugins for an existing Migma connection first. If it needs authentication, select Authenticate and complete the access approval. If no connection exists, create a Bot and paste the prompt above to add Migma.Grok Bot should discover https://migma.ai/mcp and ask before adding it. Choose the approval action only when the endpoint is exact.
Illustration of Grok Bot discovering Migma Remote MCP and asking before adding it
2
Review Migma access
Follow the installed connector’s browser approval. Sign in if needed, review the app and permissions, then select Allow when they match your intended access. Return to Grok Bot and check the connector status.Full access lets Grok Bot design, import audiences, and prepare sends for you. Review those permissions before approval. You approve every send in Migma: Grok Bot gives you a link where you review it, then select Send, Schedule, or Decline. Keep Grok Bot’s approval controls enabled.
Illustration of the Migma access review opened by Grok Bot
Migma creates the connection credential after your approval and hands it to Grok Bot directly.
3
See your account
A Connected badge is the first check. Ask Grok Bot to make a read-only request for the brand you want to use:
Use Migma to find my brand [brand name] read-only.State which Migma tool succeeded. Do not create or send anything yet.
Illustration of Grok Bot verifying Migma with a read-only brand request
How Grok Bot connects
Use the installed Migma connector’s browser authentication first. In a September 4, 2026 check, selecting Authenticate restored an existing connector to Connected, and Grok Bot successfully read a Migma brand through its tools. This verifies that connection, not every Grok build or workspace policy.If a direct agent cannot complete browser OAuth, it may use the conditional claim-code flow described in Agent registration. That requires secure credential storage and does not repair a hosted connector that still reports needsAuth.
Create your first email draft
After the read-only request succeeds, replace the brackets and send:
Use Migma with brand [brand name].Create one welcome email for people who signed up on our website.Goal: help them [first useful action].Use our saved brand style and only these approved facts: [facts].Main link: [destination URL].Keep it as an editable draft. Show the preview and Migma canvas link.Do not create a campaign, import contacts, schedule, or send.
Open the returned email and check the facts, branding, images, and links. For a focused change, identify that email by its canvas link and name the section to edit. Review the new preview before preparing recipients or delivery.Use Email Preflight to check the finished email. A test email is a separate send that requires your approval; it uses Migma’s sender and does not verify your own campaign sender.
Our September 4, 2026 Grok Bot check verified authentication and reading a saved brand. Draft generation reached the account’s daily limit, so that run did not verify a generated preview, edit, or received test. The workflow below describes documented Migma capabilities.
Other Grok clients
Grok web and Grok Build are separate from Grok Bot desktop.For Grok web, open grok.com/connectors, choose New Connector → Custom, and add https://migma.ai/mcp.For Grok Build:
grok mcp add --transport http migma https://migma.ai/mcpgrok mcp doctor migma
Browser fallback
When you choose browser fallback, Grok Bot may operate a signed-in Migma browser session. Take over for password, passkey, two-factor code, and CAPTCHA. Every Bot shares that cloud computer and its browser sessions. Sign out after use.
Give Grok Bot its job
Ask Grok Bot to read this page, then save this operating instruction:
You run my communication through Migma: launches, announcements, newsletters, campaigns.Write like we're chatting on WhatsApp: 1–2 short sentences, simple words, result and useful links. No fluff, hype, long recaps, or automatic follow-up offers. Match my language. Give more detail only when I ask or need to make a decision.Start each session with migma_get_context and use the setup block to handle my task. Keep the checklist internal; ask one short question only when needed.Raise missing setup only when it helps my current task. Handle one thing at a time; don't turn the conversation into a setup checklist.Create drafts and show me every preview and canvas link.When I like a Migma email's design or say "save this style," call migma_save_reference with that exact emailId. For a series, save only the email I chose. Confirm after favorite:true.For an external email, save projectId + title + html. A screenshot alone can guide generation through images, but cannot be saved as a standing reference.Build on facts from my brand or facts I give you, and send only to people who opted in.Before any send or schedule, show me the audience, recipient count, sender, subject, and final preview, then give me the Migma approval link.
Run the email marketing loop
Migma MCP returns exact brand, email, campaign, audience, and result data. Use Migma tools as the active write path for this workflow.
1
Choose one brand
Ask Grok Bot to list Migma brands, then select one.
2
Save lasting brand facts
When you share tone, offers, product facts, policies, or FAQs that should persist, ask Migma to save them to the selected brand’s knowledge base.
3
Build a source brief
For current launches or product news, make Grok research primary sources first. Require a dated checklist of exact facts for each email and up to five public HTTPS source-image URLs. Use primary sources for facts and images for visual direction.
4
Create drafts first
Ask for one email or a short series. State audience, goal, approved facts, and CTA. End with Keep these as editable drafts and show every preview.
Use Migma with brand [name].Create 3 launch emails for [audience].Goal: [action].Required facts by email: [exact checklist from verified sources].Source images: [up to 5 public HTTPS URLs].Pass those URLs through migma_generate_email.images as structured image inputs.Keep every email as an editable Migma draft and show each preview.
Illustration of Grok Bot returning three Migma drafts
5
Review and check
Review returned previews in Grok Bot. Check every required fact in content and every expected source asset in images before saying the work is complete. If a preview cannot be inspected, say verification is incomplete and open its Migma link. Ask for targeted text edits, then run compatibility and deliverability checks. Use replacement generation to add missing structured images.
6
Prepare the audience
Import only opted-in contacts, or choose an existing list or segment. Ask Grok Bot to report created, updated, skipped, and failed counts before continuing.
7
Confirm the sender
Ask Migma to list available sending domains and From addresses. If none are ready, set up a domain you own. A managed Migma address supports testing and small transactional sends, with a 50-email daily limit and a 50-recipient limit per send. Connect your own domain for larger campaigns.
8
Prepare the campaign for review
Ask Grok Bot to create the draft, then pause for review:
Create a campaign draft from email [email id or canvas link].Recipients: [opted-in list or segment].Subject: [subject].Sender: [sender].Keep the campaign in draft. Show recipient count, sender, subject, and final preview, then wait for my approval.
Illustration of a campaign waiting for approval
9
Approve the exact send
Send or schedule only after audience, recipient count, sender, subject, timing, and preview match your intent. Keep Grok Bot approval controls enabled.
10
Read results and improve the next brief
After sending, ask Migma for campaign stats and delivery logs. Use clicks, bounces, and complaints to shape the next draft.
Illustration of Grok Bot reading campaign results through Migma
Prompts worth saving
Save an email you like
I like this email's design: [Migma canvas link or emailId].Save it as a reference for future emails for this brand.
Grok Bot calls migma_save_reference with the selected emailId. This favorites the email and makes its saved design available to future emails for the same brand by default, unless saved references are disabled. Later edits to the favorite update the reference too.For a series, name the email you want to save. Grok Bot should use that email’s ID, confirm only after favorite: true, and continue your task. Saving requires project:write and does not need an HTML export, a new draft, or sending permission. Repeating the same emailId keeps it favorited.
Import an opted-in CSV
Use Migma with brand [name].Import this CSV into a list named "[list name]".These contacts opted in on our site.Use one contact import with the full CSV text.Report created, updated, skipped, and failed counts.
Approve one exact send
Use campaign [name or id].Confirm the audience, recipient count, sender, subject, final preview, date, time, and timezone.Send when every value matches this conversation.When any value differs, show the exact correction and wait for approval.
Read performance
Use Migma to show stats and recent delivery logs for campaign [name or id].Explain the strongest click signal, bounces, and complaints in plain language.Recommend the next email brief and return the analysis only.
Safe routines
After the Migma connection is verified, first run the task once. When the result is stable, save it as a Grok Bot skill or routine.Good routines prepare work and stop:
Every Monday at 9:00 AM, review last week's Migma campaign results for brand [name].Prepare one draft based on the strongest click signal.Use only approved brand facts and opted-in audience data.Show the preview and reasoning, then wait for approval.
Keep routines in preparation and review mode. xAI recommends approval for sending, publishing, deleting, purchasing, and production changes.
Disconnect or revoke access
Pause any routine that uses Migma.
Open Settings → Plugins, find the installed Migma connector, and disconnect or remove it.
Revoke its matching OAuth-created key in Migma Settings → Developers → API Keys.
If you used claim-code, revoke the matching Agent: key and remove its stored credential from Grok.
If you used browser fallback, sign out of Migma inside Grok Bot’s Computer.
Troubleshooting
Problem
Fix
Grok Bot cannot add Migma
Check Settings → Plugins and workspace MCP policy. An admin may need to allow https://migma.ai/mcp.
Migma keeps asking for login
Open Plugins → Your plugins → Migma, select Authenticate, and complete browser approval. Then repeat a read-only brand request.
Bot cannot find a brand
Confirm the approved Migma account can access that brand, then repeat the read-only brand request.
Bot starts changing data during setup
Send Stop now, then repeat the setup prompt above.
Bot keeps retrying a connector OAuth flow
Stop the retry loop and inspect the installed connector. Complete its authentication, then verify with a read-only brand request. If it still fails, report the exact error and Grok build.
A direct agent needs a connection credential
Follow the conditional fallback in Agent registration. The agent must support secure credential storage; approve access in your browser.
Duplicate drafts appear
Browser and MCP wrote at the same time. Stop both, list existing drafts read-only, keep one set, then continue through one mode.
Researched features or images are missing
Rebuild an exact fact checklist. Pass source URLs through structured images, regenerate once, then verify content and previews.
Generation reports a daily limit
Check your Migma plan and usage. Wait for the limit to reset or review an upgrade yourself, then retry once. A successful connection does not mean generation capacity remains.
Turn a brief into reviewed emails, prepare recipients, and read campaign results.
Grok Bot email prompts
Start with welcome, newsletter, and product-launch drafts.
MCP permissions
Review access, approval, and revocation before connecting.
Migma MCP server
See hosted MCP behavior and troubleshooting.
Last modified on November 2, 2026
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"MigmaAI","description":"Learn how to create, review, send, and automate on-brand email with Migma, including campaigns, integrations, AI agents, and the API.","colors":{"primary":"#E02020","light":"#FF6B6B","dark":"#E02020"},"logo":{"light":"https://mintcdn.com/migmaai/Ddo1c-hiaq_XaPm5/logo/light.svg?fit=max\u0026auto=format\u0026n=Ddo1c-hiaq_XaPm5\u0026q=85\u0026s=932530a76040b68fd513f05d0d75522e","dark":"https://mintcdn.com/migmaai/Ddo1c-hiaq_XaPm5/logo/dark.svg?fit=max\u0026auto=format\u0026n=Ddo1c-hiaq_XaPm5\u0026q=85\u0026s=6fbca4044641719932190564e993c595","href":"https://migma.ai"},"favicon":"https://mintcdn.com/migmaai/6vIdVqfJZMkGpyl_/favicon.svg?fit=max\u0026auto=format\u0026n=6vIdVqfJZMkGpyl_\u0026q=85\u0026s=e5235d56cb1eaead4aa152c8dec7cdf7","api":{},"navbar":{"links":[{"href":"https://migma.ai/blog","label":"Blog","type":"link"},{"href":"https://docs.migma.ai/changelog","label":"Changelog","type":"link"}],"primary":{"type":"button","label":"Get started","href":"https://migma.ai"}},"footer":{"socials":{"twitter":"https://x.com/migma_ai","linkedin":"https://linkedin.com/company/migmaai"}},"search":{"prompt":"Search Migma documentation..."},"seo":{"metatags":{"canonical":"https://docs.migma.ai","author":"MigmaAI","robots":"index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1","googlebot":"index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1","language":"en","og:site_name":"MigmaAI","og:locale":"en_US","twitter:card":"summary_large_image","twitter:site":"@Migma_AI","twitter:creator":"@Migma_AI"},"organization":{"id":"https://migma.ai/#organization","name":"Migma","legalName":"MIGMAAI, INC.","url":"https://migma.ai","logo":"https://migma.ai/brandkit/cube/SVG/light.svg","sameAs":["https://x.com/migma_ai","https://www.linkedin.com/company/migmaai"]},"indexing":"navigable"},"styling":{"eyebrows":"breadcrumbs","latex":true},"contextual":{"options":["copy","view","chatgpt","claude","perplexity"],"display":"header"},"interaction":{},"metadata":{"timestamp":true},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"migmaai","hasAudioNarration":false,"actualSubdomain":"migmaai","customDomains":["docs.migma.ai"],"gitSource":{"type":"github","owner":"migmaai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6afd0d0d4ac94587205ecf3a","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"API Reference","count":141},{"language":"default","tag":"API endpoints","count":132},{"language":"default","tag":"Changelog","count":95},{"language":"default","tag":"Human Guide","count":90},{"language":"default","tag":"Agents","count":25},{"language":"default","tag":"Emails","count":24},{"language":"default","tag":"Integrations","count":23},{"language":"default","tag":"August 2026","count":21},{"language":"default","tag":"Campaigns","count":18},{"language":"default","tag":"Domains","count":18}]},"assistantConfig":{"enableAskAiButton":true,"enableStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@migma.ai","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"rbac-expansion","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":"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":"site-roles","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":"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":"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},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"6933a922f4841d58f56e8063","deploymentId":"6863fe6abbd816413cd3a806","questionText":"How do I integrate with the API?","status":"active","generatedBy":"manual","createdAt":"2025-12-06T03:55:14.525Z","updatedAt":"2025-12-06T03:55:14.525Z","__v":0},{"_id":"6933a91ff4841d58f56e7fe6","deploymentId":"6863fe6abbd816413cd3a806","questionText":"Can I preview emails across devices?","status":"active","generatedBy":"manual","createdAt":"2025-12-06T03:55:11.220Z","updatedAt":"2025-12-06T03:55:11.220Z","__v":0},{"_id":"6933a919f4841d58f56e7eea","deploymentId":"6863fe6abbd816413cd3a806","questionText":"How do I create emails with AI?","status":"active","generatedBy":"manual","createdAt":"2025-12-06T03:55:05.785Z","updatedAt":"2025-12-06T03:55:05.785Z","__v":0}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"html:not(.dark),html:not(.dark) body{background-color:#ffffff!important}html:not(.dark) #navbar .nav-tabs :is(a,button){color:#3f3a3a!important;font-weight:600!important}html:not(.dark) #navbar .nav-tabs :is(a,button):hover{color:#201d1d!important}html:not(.dark) #sidebar-content .sidebar-title,html:not(.dark) #sidebar-content h3,html:not(.dark) #sidebar .sidebar-title,html:not(.dark) #sidebar h3{color:#211f22!important;font-weight:600!important}html:not(.dark) #sidebar-content :is(a,button):not(.text-primary),html:not(.dark) #sidebar :is(a,button):not(.text-primary){color:#3f3a3a!important;font-weight:500!important}html:not(.dark) #sidebar-content :is(a,button):not(.text-primary):hover,html:not(.dark) #sidebar :is(a,button):not(.text-primary):hover{color:#201d1d!important}html:not(.dark) #sidebar-content :is(a,button):not([aria-current=\"page\"]):not(.text-primary) svg,html:not(.dark) #sidebar :is(a,button):not([aria-current=\"page\"]):not(.text-primary) svg,html:not(.dark) aside :is(a,button):not([aria-current=\"page\"]):not(.text-primary) svg{color:#34343a!important;opacity:1!important}html:not(.dark) #sidebar-content :is(a,button) img,html:not(.dark) #sidebar :is(a,button) img,html:not(.dark) aside :is(a,button) img{opacity:1!important;filter:brightness(0.9) saturate(1.1) contrast(1.12)}html.dark,html.dark body{background-color:#0e0b0d!important}html.dark #navbar .nav-tabs :is(a,button){color:#d4d4d8!important;font-weight:600!important}html.dark #navbar .nav-tabs :is(a,button):hover{color:#f9f9f9!important}html.dark #sidebar-content .sidebar-title,html.dark #sidebar-content h3,html.dark #sidebar .sidebar-title,html.dark #sidebar h3{color:#f9f9f9!important;font-weight:600!important}html.dark #sidebar-content :is(a,button):not(.text-primary),html.dark #sidebar :is(a,button):not(.text-primary){color:#a1a1aa!important;font-weight:500!important}html.dark #sidebar-content :is(a,button):not(.text-primary):hover,html.dark #sidebar :is(a,button):not(.text-primary):hover{color:#f9f9f9!important}html.dark #sidebar-content :is(a,button):not([aria-current=\"page\"]):not(.text-primary) svg,html.dark #sidebar :is(a,button):not([aria-current=\"page\"]):not(.text-primary) svg,html.dark aside :is(a,button):not([aria-current=\"page\"]):not(.text-primary) svg{color:#a1a1aa!important;opacity:1!important}html.dark #sidebar-content :is(a,button) img,html.dark #sidebar :is(a,button) img,html.dark aside :is(a,button) img{opacity:1!important;filter:brightness(1.05) saturate(1.05)}html:not(.dark) #sidebar-content :is(a,button).text-primary,html:not(.dark) #sidebar :is(a,button).text-primary{color:#e02020!important;font-weight:600!important}html.dark #sidebar-content :is(a,button).text-primary,html.dark #sidebar :is(a,button).text-primary{color:#ff6b6b!important;font-weight:600!important}#sidebar-content :is(a,button)[aria-current=\"page\"] svg,#sidebar :is(a,button)[aria-current=\"page\"] svg,aside :is(a,button)[aria-current=\"page\"] svg,#sidebar-content :is(a,button).text-primary svg,#sidebar :is(a,button).text-primary svg,aside :is(a,button).text-primary svg{color:#e02020!important;opacity:1!important}html.dark #sidebar-content :is(a,button)[aria-current=\"page\"] svg,html.dark #sidebar :is(a,button)[aria-current=\"page\"] svg,html.dark aside :is(a,button)[aria-current=\"page\"] svg,html.dark #sidebar-content :is(a,button).text-primary svg,html.dark #sidebar :is(a,button).text-primary svg,html.dark aside :is(a,button).text-primary svg{color:#ff6b6b!important;opacity:1!important}#content-area #content>span,#content-area #content li,#content-area #content table td,#content-area #content .steps .step p.mt-2{color:#514b4b!important}html.dark #content-area #content>span,html.dark #content-area #content li,html.dark #content-area #content table td,html.dark #content-area #content .steps .step p.mt-2{color:#c7c1c1!important}html:not(.dark) #content-area a.group>span{color:#5f5858!important}html.dark #content-area a.group>span{color:#918989!important}"}]}
{"page":{"pagePath":"grok","slug":"/grok","pageMetadata":{"title":"Connect Migma to Grok Bot","sidebarTitle":"Grok Bot","description":"Connect Migma to Grok Bot, verify your brand, and create your first editable email draft before preparing an approved campaign.","icon":"/images/logos/grok-bot.webp","href":"/grok"},"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: \"Connect Migma to Grok Bot, verify your brand, and create your first editable email draft before preparing an approved campaign.\"\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`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Card,CardGroup,CodeBlock,Frame,Heading,Info,Note,OptimizedImage,Step,Steps,Table,Warning}=_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(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Connect Migma to Grok Bot to create editable emails using your saved brand, review previews, prepare campaigns for opted-in subscribers, and read results. Start with one draft. Creating an email does not send it.`}),`\n`,_jsxs(_components.p,{children:[`This guide covers the `,_jsx(_components.strong,{children:`Grok Bot desktop app`}),`. You need a Migma account, access to your brand, and permission to add connections in Grok Bot.`]}),`\n`,_jsx(Heading,{level:`2`,id:`quick-start`,children:`Quick start`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Paste the setup prompt below into Grok Bot and approve the connection in your browser.`}),`\n`,_jsx(_components.li,{children:`Ask Grok Bot to find your brand read-only. Confirm that the returned brand is yours.`}),`\n`,_jsx(_components.li,{children:`Request one editable email draft. Open its preview and Migma canvas link before continuing.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`For first-email prompts, read `,_jsx(_components.a,{href:`https://migma.ai/blog/ai-email-marketing-from-grok-bot`,children:`Grok Bot email marketing: setup and first draft`}),`. For audience, sender, review, and results, use `,_jsx(_components.a,{href:`https://migma.ai/blog/design-send-marketing-emails-grok-bot`,children:`Grok Bot email campaigns: from brief to results`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Grok Bot connects through Migma Remote MCP, which lets it use Migma tools, at `,_jsx(_components.code,{children:`https://migma.ai/mcp`}),`. Sign-in and access approval happen in your browser.`]}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`Agent-guided Remote MCP setup is available in Grok Bot desktop with user approval. Marketplace availability and connector authentication vary by Grok build and workspace policy.`})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Use one write path per task. Finish or pause current work before switching between Migma MCP and browser operation. This prevents duplicate drafts.`})}),`\n`,_jsx(Heading,{level:`2`,id:`start-email-marketing-with-grok-bot`,children:`Start email marketing with Grok Bot`}),`\n`,_jsx(_components.p,{children:`Copy this prompt into Grok Bot:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,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:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Set up Migma so you can run my email marketing.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Read https://docs.migma.ai/grok.md and reuse my existing Migma connection if available.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Ask before adding a connection. I'll review access in my browser.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Then find my brand [brand name] with a read-only request and report which tool succeeded.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Do not create, import, schedule, or send anything during setup.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Frame,{caption:`Illustration of Migma connecting to Grok Bot through Remote MCP`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/hero.webp?fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=90b33640db234ca560b8ab621fca58c1`,alt:`Illustration showing Migma connected to Grok Bot through the Migma Remote MCP URL`,\"data-og-width\":`1672`,width:`1672`,\"data-og-height\":`941`,height:`941`,\"data-path\":`images/tutorials/grok-bot/hero.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/hero.webp?w=280\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=15352e7888f6300d3925cdc2d0ccc2d8 280w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/hero.webp?w=560\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=04f003c5afdb2cb613b5265daae34807 560w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/hero.webp?w=840\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=1ec2e8de0085e744c230a24e06500483 840w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/hero.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=0284bf4c72a9df5c16eb5dfdcc5bd600 1100w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/hero.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=4a35fe8798220b2fe650907fe47b47d1 1650w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/hero.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=c76e552df08193282dd3520d2905e1de 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-start`,children:`Before you start`}),`\n`,_jsx(_components.p,{children:`You need:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`A Migma account.`}),`\n`,_jsx(_components.li,{children:`Grok Bot desktop with plugins and MCP connections allowed.`}),`\n`,_jsx(_components.li,{children:`A browser for Migma access approval.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Team and Enterprise admins may need to allow the Migma server URL before members can connect it. Grok Bot follows the same plugin and MCP policy as Cursor.`}),`\n`,_jsx(Heading,{level:`2`,id:`connect-migma-from-grok-bot`,children:`Connect Migma from Grok Bot`}),`\n`,_jsxs(_components.p,{children:[`The quickest path is the `,_jsx(_components.a,{href:`https://x.ai/bot/plugin/65888866`,children:`Migma plugin listing`}),`. Add it to Grok Bot, then approve access in your browser. Use the steps below if the listing is not available in your Grok build or workspace.`]}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Ask Grok Bot to add Migma`,children:[_jsxs(_components.p,{children:[`Check `,_jsx(_components.strong,{children:`Plugins → Your plugins`}),` for an existing Migma connection first. If it needs authentication, select `,_jsx(_components.strong,{children:`Authenticate`}),` and complete the access approval. If no connection exists, create a Bot and paste the prompt above to add Migma.`]}),_jsxs(_components.p,{children:[`Grok Bot should discover `,_jsx(_components.code,{children:`https://migma.ai/mcp`}),` and ask before adding it. Choose the approval action only when the endpoint is exact.`]}),_jsx(Frame,{caption:`Illustration of Grok Bot discovering Migma Remote MCP and asking before adding it`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/setup-migma-mcp.webp?fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=fe40d02ebe1ec3efe7a8813b63db92e1`,alt:`Illustration showing Grok Bot reading Migma setup guidance, finding the Migma Remote MCP URL, and asking whether to add the connector`,\"data-og-width\":`1672`,width:`1672`,\"data-og-height\":`941`,height:`941`,\"data-path\":`images/tutorials/grok-bot/setup-migma-mcp.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/setup-migma-mcp.webp?w=280\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=2e6543d7bc820a2995a76a46f663920d 280w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/setup-migma-mcp.webp?w=560\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=d9f0241a9e259df51da1cbcd99736fa9 560w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/setup-migma-mcp.webp?w=840\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=31dbae7d848d07a102d216b59f525e7a 840w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/setup-migma-mcp.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=1473951b077e6681e4a9c1109b4f4695 1100w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/setup-migma-mcp.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=29074bc4b81c08301acdff4a955e6071 1650w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/setup-migma-mcp.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=ad556ffb336d6baa320113e1cec81818 2500w`})})]}),_jsxs(Step,{title:`Review Migma access`,children:[_jsxs(_components.p,{children:[`Follow the installed connector’s browser approval. Sign in if needed, review the app and permissions, then select `,_jsx(_components.strong,{children:`Allow`}),` when they match your intended access. Return to Grok Bot and check the connector status.`]}),_jsxs(_components.p,{children:[`Full access lets Grok Bot design, import audiences, and prepare sends for you. Review those permissions before approval. You approve every send in Migma: Grok Bot gives you a link where you review it, then select `,_jsx(_components.strong,{children:`Send`}),`, `,_jsx(_components.strong,{children:`Schedule`}),`, or `,_jsx(_components.strong,{children:`Decline`}),`. Keep Grok Bot’s approval controls enabled.`]}),_jsx(Frame,{caption:`Illustration of the Migma access review opened by Grok Bot`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/approve-migma-access.webp?fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=dec2b580b151142270d126f13f2fc1ac`,alt:`Illustration showing the Migma connection review with app, return destination, requested access, Cancel, and Allow`,\"data-og-width\":`1672`,width:`1672`,\"data-og-height\":`941`,height:`941`,\"data-path\":`images/tutorials/grok-bot/approve-migma-access.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/approve-migma-access.webp?w=280\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=e8599edd65982619c82be25abd290dd1 280w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/approve-migma-access.webp?w=560\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=3240167e1330035ee68df843e7bf6663 560w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/approve-migma-access.webp?w=840\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=3899801721dc14b71bd90274a9cb4863 840w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/approve-migma-access.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=6854d4b19cd2395da1f712f4d7241be6 1100w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/approve-migma-access.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=0babed8944052d736927ef212c24061f 1650w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/approve-migma-access.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=737f468b288c07a83eae1a384c2096e3 2500w`})}),_jsx(_components.p,{children:`Migma creates the connection credential after your approval and hands it to Grok Bot directly.`})]}),_jsxs(Step,{title:`See your account`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.strong,{children:`Connected`}),` badge is the first check. Ask Grok Bot to make a read-only request for the brand you want to use:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`3`,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:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Use Migma to find my brand [brand name] read-only.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`State which Migma tool succeeded. Do not create or send anything yet.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(Frame,{caption:`Illustration of Grok Bot verifying Migma with a read-only brand request`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/verify-migma-mcp.webp?fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=9f8dd579f5d071879a339a8c7f369d78`,alt:`Illustration showing Grok Bot calling Migma list projects, returning a sanitized demo brand, and making no changes`,\"data-og-width\":`1672`,width:`1672`,\"data-og-height\":`941`,height:`941`,\"data-path\":`images/tutorials/grok-bot/verify-migma-mcp.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/verify-migma-mcp.webp?w=280\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=32142e732c09660c47f919d2c66d3110 280w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/verify-migma-mcp.webp?w=560\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=a28354bc554f7c9acb9fd409f2e6528e 560w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/verify-migma-mcp.webp?w=840\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=15927e580ce04838dc64d2c27afa62b9 840w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/verify-migma-mcp.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=9144f63d3c0a85fec17ca4926015fbc4 1100w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/verify-migma-mcp.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=d3178b55cad9691e269234ab3ac0db29 1650w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/verify-migma-mcp.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=8093d076917c92f8d407063e378b772d 2500w`})})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`how-grok-bot-connects`,children:`How Grok Bot connects`}),`\n`,_jsxs(_components.p,{children:[`Use the installed Migma connector’s browser authentication first. In a September 4, 2026 check, selecting `,_jsx(_components.strong,{children:`Authenticate`}),` restored an existing connector to `,_jsx(_components.strong,{children:`Connected`}),`, and Grok Bot successfully read a Migma brand through its tools. This verifies that connection, not every Grok build or workspace policy.`]}),`\n`,_jsxs(_components.p,{children:[`If a direct agent cannot complete browser OAuth, it may use the conditional claim-code flow described in `,_jsx(_components.a,{href:`/agent-registration`,children:`Agent registration`}),`. That requires secure credential storage and does not repair a hosted connector that still reports `,_jsx(_components.code,{children:`needsAuth`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`create-your-first-email-draft`,children:`Create your first email draft`}),`\n`,_jsx(_components.p,{children:`After the read-only request succeeds, replace the brackets and send:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,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:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Use Migma with brand [brand name].`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Create one welcome email for people who signed up on our website.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Goal: help them [first useful action].`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Use our saved brand style and only these approved facts: [facts].`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Main link: [destination URL].`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Keep it as an editable draft. Show the preview and Migma canvas link.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Do not create a campaign, import contacts, schedule, or send.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Open the returned email and check the facts, branding, images, and links. For a focused change, identify that email by its canvas link and name the section to edit. Review the new preview before preparing recipients or delivery.`}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.a,{href:`/email-editor/email-preflight`,children:`Email Preflight`}),` to check the finished email. A test email is a separate send that requires your approval; it uses Migma’s sender and does not verify your own campaign sender.`]}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Our September 4, 2026 Grok Bot check verified authentication and reading a saved brand. Draft generation reached the account’s daily limit, so that run did not verify a generated preview, edit, or received test. The workflow below describes documented Migma capabilities.`})}),`\n`,_jsx(Heading,{level:`2`,id:`other-grok-clients`,children:`Other Grok clients`}),`\n`,_jsx(_components.p,{children:`Grok web and Grok Build are separate from Grok Bot desktop.`}),`\n`,_jsxs(_components.p,{children:[`For Grok web, open `,_jsx(_components.a,{href:`https://grok.com/connectors`,children:`grok.com/connectors`}),`, choose `,_jsx(_components.strong,{children:`New Connector → Custom`}),`, and add `,_jsx(_components.code,{children:`https://migma.ai/mcp`}),`.`]}),`\n`,_jsx(_components.p,{children:`For Grok Build:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`grok`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --transport`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` http`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` migma`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://migma.ai/mcp`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`grok`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` mcp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` doctor`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` migma`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`browser-fallback`,children:`Browser fallback`}),`\n`,_jsx(_components.p,{children:`When you choose browser fallback, Grok Bot may operate a signed-in Migma browser session. Take over for password, passkey, two-factor code, and CAPTCHA. Every Bot shares that cloud computer and its browser sessions. Sign out after use.`}),`\n`,_jsx(Heading,{level:`2`,id:`give-grok-bot-its-job`,children:`Give Grok Bot its job`}),`\n`,_jsx(_components.p,{children:`Ask Grok Bot to read this page, then save this operating instruction:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,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:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`You run my communication through Migma: launches, announcements, newsletters, campaigns.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Write like we're chatting on WhatsApp: 1–2 short sentences, simple words, result and useful links. No fluff, hype, long recaps, or automatic follow-up offers. Match my language. Give more detail only when I ask or need to make a decision.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Start each session with migma_get_context and use the setup block to handle my task. Keep the checklist internal; ask one short question only when needed.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Raise missing setup only when it helps my current task. Handle one thing at a time; don't turn the conversation into a setup checklist.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Create drafts and show me every preview and canvas link.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`When I like a Migma email's design or say \"save this style,\" call migma_save_reference with that exact emailId. For a series, save only the email I chose. Confirm after favorite:true.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`For an external email, save projectId + title + html. A screenshot alone can guide generation through images, but cannot be saved as a standing reference.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Build on facts from my brand or facts I give you, and send only to people who opted in.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Before any send or schedule, show me the audience, recipient count, sender, subject, and final preview, then give me the Migma approval link.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`run-the-email-marketing-loop`,children:`Run the email marketing loop`}),`\n`,_jsx(_components.p,{children:`Migma MCP returns exact brand, email, campaign, audience, and result data. Use Migma tools as the active write path for this workflow.`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Choose one brand`,children:_jsx(_components.p,{children:`Ask Grok Bot to list Migma brands, then select one.`})}),_jsx(Step,{title:`Save lasting brand facts`,children:_jsx(_components.p,{children:`When you share tone, offers, product facts, policies, or FAQs that should persist, ask Migma to save them to the selected brand’s knowledge base.`})}),_jsx(Step,{title:`Build a source brief`,children:_jsx(_components.p,{children:`For current launches or product news, make Grok research primary sources first. Require a dated checklist of exact facts for each email and up to five public HTTPS source-image URLs. Use primary sources for facts and images for visual direction.`})}),_jsxs(Step,{title:`Create drafts first`,children:[_jsxs(_components.p,{children:[`Ask for one email or a short series. State audience, goal, approved facts, and CTA. End with `,_jsx(_components.strong,{children:`Keep these as editable drafts and show every preview.`})]}),_jsx(CodeBlock,{filename:``,numberOfLines:`8`,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:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Use Migma with brand [name].`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Create 3 launch emails for [audience].`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Goal: [action].`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Required facts by email: [exact checklist from verified sources].`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Source images: [up to 5 public HTTPS URLs].`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Pass those URLs through migma_generate_email.images as structured image inputs.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Keep every email as an editable Migma draft and show each preview.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(Frame,{caption:`Illustration of Grok Bot returning three Migma drafts`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/create-drafts.webp?fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=a7a7f0f31081305545cf561f814bd8cd`,alt:`Illustration showing three Migma draft email previews in Grok Bot and confirmation that no email was sent`,\"data-og-width\":`1672`,width:`1672`,\"data-og-height\":`941`,height:`941`,\"data-path\":`images/tutorials/grok-bot/create-drafts.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/create-drafts.webp?w=280\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=ba1e7ba8dd314c472e750b5446e67e6f 280w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/create-drafts.webp?w=560\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=e280760ec1809f8280dc96aaac2b8c21 560w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/create-drafts.webp?w=840\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=52aa7f7f9eebaa670cc787a07b5e1f50 840w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/create-drafts.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=ea8b43587f989e3d6b2676bb732106a7 1100w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/create-drafts.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=ee7e13f8bf948393e0468d6ae053db1b 1650w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/create-drafts.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=ad46a4261d2a8faaa4254d44d2d5b5a3 2500w`})})]}),_jsx(Step,{title:`Review and check`,children:_jsx(_components.p,{children:`Review returned previews in Grok Bot. Check every required fact in content and every expected source asset in images before saying the work is complete. If a preview cannot be inspected, say verification is incomplete and open its Migma link. Ask for targeted text edits, then run compatibility and deliverability checks. Use replacement generation to add missing structured images.`})}),_jsx(Step,{title:`Prepare the audience`,children:_jsx(_components.p,{children:`Import only opted-in contacts, or choose an existing list or segment. Ask Grok Bot to report created, updated, skipped, and failed counts before continuing.`})}),_jsx(Step,{title:`Confirm the sender`,children:_jsx(_components.p,{children:`Ask Migma to list available sending domains and From addresses. If none are ready, set up a domain you own. A managed Migma address supports testing and small transactional sends, with a 50-email daily limit and a 50-recipient limit per send. Connect your own domain for larger campaigns.`})}),_jsxs(Step,{title:`Prepare the campaign for review`,children:[_jsx(_components.p,{children:`Ask Grok Bot to create the draft, then pause for review:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`6`,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:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Create a campaign draft from email [email id or canvas link].`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Recipients: [opted-in list or segment].`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Subject: [subject].`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Sender: [sender].`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Keep the campaign in draft. Show recipient count, sender, subject, and final preview, then wait for my approval.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(Frame,{caption:`Illustration of a campaign waiting for approval`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/review-campaign.webp?fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=727ee9628922d5a45deaf6443dd57a85`,alt:`Illustration showing Grok Bot and Migma preparing a campaign summary with audience, sender, schedule, previews, and nothing sent`,\"data-og-width\":`1672`,width:`1672`,\"data-og-height\":`941`,height:`941`,\"data-path\":`images/tutorials/grok-bot/review-campaign.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/review-campaign.webp?w=280\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=5c4523f8efabccd3d6f3a3f11ef0423d 280w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/review-campaign.webp?w=560\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=135ebcc3635f1e201398f62965de5427 560w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/review-campaign.webp?w=840\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=623ff77750a67303dd76120b12895983 840w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/review-campaign.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=8b2dae7b5492f455225aaf6a38a5917f 1100w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/review-campaign.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=315d39c9c6953676461b5ae33b0f155e 1650w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/review-campaign.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=9d2318307c00e6f03759cab5ea52705a 2500w`})})]}),_jsx(Step,{title:`Approve the exact send`,children:_jsx(_components.p,{children:`Send or schedule only after audience, recipient count, sender, subject, timing, and preview match your intent. Keep Grok Bot approval controls enabled.`})}),_jsxs(Step,{title:`Read results and improve the next brief`,children:[_jsx(_components.p,{children:`After sending, ask Migma for campaign stats and delivery logs. Use clicks, bounces, and complaints to shape the next draft.`}),_jsx(Frame,{caption:`Illustration of Grok Bot reading campaign results through Migma`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/read-results.webp?fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=093499d103a1f0202e03727a9a88a588`,alt:`Illustration showing Grok Bot using Migma campaign stats to summarize delivery, opens, clicks, bounces, and recommend the next brief`,\"data-og-width\":`1672`,width:`1672`,\"data-og-height\":`941`,height:`941`,\"data-path\":`images/tutorials/grok-bot/read-results.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/read-results.webp?w=280\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=659efb1ec4778b41f6a5372289275308 280w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/read-results.webp?w=560\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=a712f1d42b2ad89588b32a794ab5df2a 560w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/read-results.webp?w=840\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=92de873b379169a65df162de2295dc6e 840w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/read-results.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=8c2fbda81e87c8ef1ab98848eba49881 1100w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/read-results.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=774e092d1dff963e78ec06411c5cd583 1650w, https://mintcdn.com/migmaai/FD_h5ksPM7EFUv6w/images/tutorials/grok-bot/read-results.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=FD_h5ksPM7EFUv6w\u0026q=85\u0026s=1da03f49446eed2b653f2fafb721a5cd 2500w`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`prompts-worth-saving`,children:`Prompts worth saving`}),`\n`,_jsx(Heading,{level:`3`,id:`save-an-email-you-like`,children:`Save an email you like`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,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:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`I like this email's design: [Migma canvas link or emailId].`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Save it as a reference for future emails for this brand.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Grok Bot calls `,_jsx(_components.code,{children:`migma_save_reference`}),` with the selected `,_jsx(_components.code,{children:`emailId`}),`. This favorites the email and makes its saved design available to future emails for the same brand by default, unless saved references are disabled. Later edits to the favorite update the reference too.`]}),`\n`,_jsxs(_components.p,{children:[`For a series, name the email you want to save. Grok Bot should use that email’s ID, confirm only after `,_jsx(_components.code,{children:`favorite: true`}),`, and continue your task. Saving requires `,_jsx(_components.code,{children:`project:write`}),` and does not need an HTML export, a new draft, or sending permission. Repeating the same `,_jsx(_components.code,{children:`emailId`}),` keeps it favorited.`]}),`\n`,_jsx(Heading,{level:`3`,id:`import-an-opted-in-csv`,children:`Import an opted-in CSV`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,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:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Use Migma with brand [name].`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Import this CSV into a list named \"[list name]\".`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`These contacts opted in on our site.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Use one contact import with the full CSV text.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Report created, updated, skipped, and failed counts.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`approve-one-exact-send`,children:`Approve one exact send`}),`\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 campaign [name or id].`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Confirm the audience, recipient count, sender, subject, final preview, date, time, and timezone.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Send when every value matches this conversation.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`When any value differs, show the exact correction and wait for approval.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`read-performance`,children:`Read performance`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Use Migma to show stats and recent delivery logs for campaign [name or id].`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Explain the strongest click signal, bounces, and complaints in plain language.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Recommend the next email brief and return the analysis only.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`safe-routines`,children:`Safe routines`}),`\n`,_jsx(_components.p,{children:`After the Migma connection is verified, first run the task once. When the result is stable, save it as a Grok Bot skill or routine.`}),`\n`,_jsx(_components.p,{children:`Good routines prepare work and stop:`}),`\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:`Every Monday at 9:00 AM, review last week's Migma campaign results for brand [name].`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Prepare one draft based on the strongest click signal.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Use only approved brand facts and opted-in audience data.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Show the preview and reasoning, then wait for approval.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Keep routines in preparation and review mode. xAI recommends approval for sending, publishing, deleting, purchasing, and production changes.`}),`\n`,_jsx(Heading,{level:`2`,id:`disconnect-or-revoke-access`,children:`Disconnect or revoke access`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Pause any routine that uses Migma.`}),`\n`,_jsxs(_components.li,{children:[`Open `,_jsx(_components.strong,{children:`Settings → Plugins`}),`, find the installed Migma connector, and disconnect or remove it.`]}),`\n`,_jsxs(_components.li,{children:[`Revoke its matching OAuth-created key in `,_jsx(_components.strong,{children:`Migma Settings → Developers → API Keys`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`If you used claim-code, revoke the matching `,_jsx(_components.code,{children:`Agent:`}),` key and remove its stored credential from Grok.`]}),`\n`,_jsxs(_components.li,{children:[`If you used browser fallback, sign out of Migma inside `,_jsx(_components.strong,{children:`Grok Bot’s Computer`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Problem`}),_jsx(_components.th,{children:`Fix`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Grok Bot cannot add Migma`}),_jsxs(_components.td,{children:[`Check `,_jsx(_components.strong,{children:`Settings → Plugins`}),` and workspace MCP policy. An admin may need to allow `,_jsx(_components.code,{children:`https://migma.ai/mcp`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Migma keeps asking for login`}),_jsxs(_components.td,{children:[`Open `,_jsx(_components.strong,{children:`Plugins → Your plugins → Migma`}),`, select `,_jsx(_components.strong,{children:`Authenticate`}),`, and complete browser approval. Then repeat a read-only brand request.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Bot cannot find a brand`}),_jsx(_components.td,{children:`Confirm the approved Migma account can access that brand, then repeat the read-only brand request.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Bot starts changing data during setup`}),_jsxs(_components.td,{children:[`Send `,_jsx(_components.code,{children:`Stop now`}),`, then repeat the setup prompt above.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Bot keeps retrying a connector OAuth flow`}),_jsx(_components.td,{children:`Stop the retry loop and inspect the installed connector. Complete its authentication, then verify with a read-only brand request. If it still fails, report the exact error and Grok build.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`A direct agent needs a connection credential`}),_jsxs(_components.td,{children:[`Follow the conditional fallback in `,_jsx(_components.a,{href:`/agent-registration`,children:`Agent registration`}),`. The agent must support secure credential storage; approve access in your browser.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Duplicate drafts appear`}),_jsx(_components.td,{children:`Browser and MCP wrote at the same time. Stop both, list existing drafts read-only, keep one set, then continue through one mode.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Researched features or images are missing`}),_jsxs(_components.td,{children:[`Rebuild an exact fact checklist. Pass source URLs through structured `,_jsx(_components.code,{children:`images`}),`, regenerate once, then verify content and previews.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Generation reports a daily limit`}),_jsx(_components.td,{children:`Check your Migma plan and usage. Wait for the limit to reset or review an upgrade yourself, then retry once. A successful connection does not mean generation capacity remains.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Current Grok behavior: `,_jsx(_components.a,{href:`https://docs.x.ai/grok-bot/overview`,children:`Grok Bot overview`}),`, `,_jsx(_components.a,{href:`https://docs.x.ai/grok-bot/get-started`,children:`get started and computer login`}),`, `,_jsx(_components.a,{href:`https://docs.x.ai/grok-bot/skills-routines-and-automations`,children:`skills and routines`}),`, `,_jsx(_components.a,{href:`https://docs.x.ai/grok-bot/approvals-security-and-privacy`,children:`approvals and security`}),`, and `,_jsx(_components.a,{href:`https://docs.x.ai/build/features/mcp-servers`,children:`Grok Build MCP`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`next`,children:`Next`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Grok Bot email campaign guide`,icon:`bullhorn`,href:`https://migma.ai/blog/design-send-marketing-emails-grok-bot`,children:_jsx(_components.p,{children:`Turn a brief into reviewed emails, prepare recipients, and read campaign results.`})}),_jsx(Card,{title:`Grok Bot email prompts`,icon:`pen-to-square`,href:`https://migma.ai/blog/ai-email-marketing-from-grok-bot`,children:_jsx(_components.p,{children:`Start with welcome, newsletter, and product-launch drafts.`})}),_jsx(Card,{title:`MCP permissions`,icon:`shield-check`,href:`/security/mcp`,children:_jsx(_components.p,{children:`Review access, approval, and revocation before connecting.`})}),_jsx(Card,{title:`Migma MCP server`,icon:`server`,href:`/mcp-server`,children:_jsx(_components.p,{children:`See hosted MCP behavior and troubleshooting.`})})]})]})}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":"Connect Migma to Grok Bot","sidebarTitle":"Grok Bot","description":"Connect Migma to Grok Bot, verify your brand, and create your first editable email draft before preparing an approved campaign.","icon":"/images/logos/grok-bot.webp","href":"/grok"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Quick start","slug":"quick-start","depth":2,"children":[]},{"title":"Start email marketing with Grok Bot","slug":"start-email-marketing-with-grok-bot","depth":2,"children":[]},{"title":"Before you start","slug":"before-you-start","depth":2,"children":[]},{"title":"Connect Migma from Grok Bot","slug":"connect-migma-from-grok-bot","depth":2,"children":[{"title":"How Grok Bot connects","slug":"how-grok-bot-connects","depth":3,"children":[]}]},{"title":"Create your first email draft","slug":"create-your-first-email-draft","depth":2,"children":[]},{"title":"Other Grok clients","slug":"other-grok-clients","depth":2,"children":[]},{"title":"Browser fallback","slug":"browser-fallback","depth":2,"children":[]},{"title":"Give Grok Bot its job","slug":"give-grok-bot-its-job","depth":2,"children":[]},{"title":"Run the email marketing loop","slug":"run-the-email-marketing-loop","depth":2,"children":[]},{"title":"Prompts worth saving","slug":"prompts-worth-saving","depth":2,"children":[{"title":"Save an email you like","slug":"save-an-email-you-like","depth":3,"children":[]},{"title":"Import an opted-in CSV","slug":"import-an-opted-in-csv","depth":3,"children":[]},{"title":"Approve one exact send","slug":"approve-one-exact-send","depth":3,"children":[]},{"title":"Read performance","slug":"read-performance","depth":3,"children":[]}]},{"title":"Safe routines","slug":"safe-routines","depth":2,"children":[]},{"title":"Disconnect or revoke access","slug":"disconnect-or-revoke-access","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"Next","slug":"next","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/migmaai/a5e69fc95e43b27a/title-format.js"],"subdomain":"migmaai","siteName":"MigmaAI","title":"Connect Migma to Grok Bot - MigmaAI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-17T13:07:52.736Z","gitLastModified":"2026-11-02T23:18:32.000Z","originalFileLocation":"grok.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=\"Connect Migma to Grok Bot, verify your brand, and create your first editable email draft before preparing an approved campaign.\">\u003cmeta data-mint-head name=\"application-name\" content=\"MigmaAI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/migmaai/hy0px75GoiudrnlD/_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=\"/mintlify-assets/_mintlify/favicons/migmaai/hy0px75GoiudrnlD/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/migmaai/hy0px75GoiudrnlD/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/migmaai/hy0px75GoiudrnlD/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/migmaai/hy0px75GoiudrnlD/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/migmaai/hy0px75GoiudrnlD/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/migmaai/hy0px75GoiudrnlD/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/migmaai/hy0px75GoiudrnlD/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/migmaai/hy0px75GoiudrnlD/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Connect Migma to Grok Bot - MigmaAI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Connect Migma to Grok Bot, verify your brand, and create your first editable email draft before preparing an approved campaign.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MigmaAI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.migma.ai/grok\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://migmaai.mintlify.site/_mintlify/api/og/v2?division=MCP+Clients\u0026amp;title=Connect+Migma+to+Grok+Bot\u0026amp;description=Connect+Migma+to+Grok+Bot%2C+verify+your+brand%2C+and+create+your+first+editable+email+draft+before+preparing+an+approved+campaign.\u0026amp;theme=06502603a55a3de43a719703\u0026amp;signature=1171ebbd2ee90c32dc50c11a9ef2c56ad178de456129e92070d38d0713d508d2\">\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=\"Connect Migma to Grok Bot - MigmaAI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Connect Migma to Grok Bot, verify your brand, and create your first editable email draft before preparing an approved campaign.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://migmaai.mintlify.site/_mintlify/api/og/v2?division=MCP+Clients\u0026amp;title=Connect+Migma+to+Grok+Bot\u0026amp;description=Connect+Migma+to+Grok+Bot%2C+verify+your+brand%2C+and+create+your+first+editable+email+draft+before+preparing+an+approved+campaign.\u0026amp;theme=06502603a55a3de43a719703\u0026amp;signature=1171ebbd2ee90c32dc50c11a9ef2c56ad178de456129e92070d38d0713d508d2\">\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=\"/mintlify-assets/_mintlify/favicons/migmaai/hy0px75GoiudrnlD/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MigmaAI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#E02020\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"author\" content=\"MigmaAI\">\u003cmeta data-mint-head name=\"googlebot\" content=\"index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1\">\u003cmeta data-mint-head name=\"language\" content=\"en\">\u003cmeta data-mint-head name=\"twitter:creator\" content=\"@Migma_AI\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.migma.ai/grok\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/grok.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://migma.ai/#organization\",\"name\":\"Migma\",\"legalName\":\"MIGMAAI, INC.\",\"url\":\"https://migma.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://migma.ai/brandkit/cube/SVG/light.svg\"},\"sameAs\":[\"https://x.com/migma_ai\",\"https://www.linkedin.com/company/migmaai\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.migma.ai#website\",\"name\":\"MigmaAI\",\"url\":\"https://docs.migma.ai\",\"publisher\":{\"@id\":\"https://migma.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.migma.ai/grok#webpage\",\"url\":\"https://docs.migma.ai/grok\",\"name\":\"Connect Migma to Grok Bot\",\"description\":\"Connect Migma to Grok Bot, verify your brand, and create your first editable email draft before preparing an approved campaign.\",\"dateModified\":\"2026-11-02T23:18:32.000Z\",\"isPartOf\":{\"@id\":\"https://docs.migma.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.migma.ai/grok#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.migma.ai/grok#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"MCP Clients\",\"item\":\"https://docs.migma.ai/agents/mcp-cursor\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Connect Migma to Grok Bot\",\"item\":\"https://docs.migma.ai/grok\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.migma.ai/grok#article\",\"headline\":\"Connect Migma to Grok Bot\",\"name\":\"Connect Migma to Grok Bot\",\"description\":\"Connect Migma to Grok Bot, verify your brand, and create your first editable email draft before preparing an approved campaign.\",\"url\":\"https://docs.migma.ai/grok\",\"mainEntityOfPage\":{\"@id\":\"https://docs.migma.ai/grok#webpage\"},\"dateModified\":\"2026-11-02T23:18:32.000Z\",\"publisher\":{\"@id\":\"https://migma.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.migma.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MigmaAI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Migma\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/grok.md","siteName":"MigmaAI","nav":{"global":{"anchors":[]},"tabs":[{"tab":"Human Guide","icon":"book-open","pages":[{"title":"Human Guide","href":"/get-started/what-is-migma"}]},{"tab":"Integrations","icon":"puzzle-piece","pages":[{"title":"Integrations","href":"/integrations/overview"}]},{"tab":"Agents","icon":"microchip","groups":[{"group":"Getting Started","pages":[{"title":"Use Migma with AI tools","sidebarTitle":"Introduction","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/migma-cube.png","href":"/agents/overview"}]},{"group":"Tools","pages":[{"title":"Migma Agent Setup: Skills, CLI, and MCP","sidebarTitle":"Agent Setup","icon":"wand-magic-sparkles","href":"/agent-setup"},{"title":"Set Up Migma with an AI Agent","sidebarTitle":"Setup","icon":"plug","href":"/setup"},{"title":"Hand Off Migma Setup to an AI Agent","sidebarTitle":"Agent Handoff","icon":"copy","href":"/agents/agent-handoff"},{"title":"Migma Skills for AI Agents","sidebarTitle":"Skills","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/skill.svg","href":"/skills"},{"title":"Connect AI Agents with the Migma MCP Server","sidebarTitle":"MCP Server","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/migma-cube.png","href":"/mcp-server"}]},{"group":"MCP Clients","pages":[{"title":"Use Migma with Cursor","sidebarTitle":"Cursor","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/cursor.png","href":"/agents/mcp-cursor"},{"title":"Connect Migma MCP to Claude","sidebarTitle":"Claude","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/claude-code.png","href":"/agents/mcp-claude"},{"title":"Claude managed sign-in","sidebarTitle":"Claude managed sign-in","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/claude-code.png","href":"/agents/claude-managed-auth"},{"title":"Connect Migma MCP to ChatGPT","sidebarTitle":"ChatGPT","description":"Connect Migma to ChatGPT through the public plugin or a managed custom connector, approve access in your browser, and verify the connection safely.","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/chatgpt.png","href":"/agents/mcp-chatgpt"},{"title":"Connect Migma to Grok Bot","sidebarTitle":"Grok Bot","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/grok-bot.webp","href":"/grok"},{"title":"Connect Migma MCP to GitHub Copilot","sidebarTitle":"Copilot","description":"Use Migma MCP with GitHub Copilot when Copilot Agent mode needs to prepare emails, inspect contacts, create campaigns, or wire email sends while editing code.","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/copilot.png","href":"/agents/mcp-copilot"},{"title":"Connect Migma MCP to Codex CLI","sidebarTitle":"Codex CLI","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/codex.png","href":"/agents/mcp-codex"},{"title":"Connect Migma MCP to Windsurf","sidebarTitle":"Windsurf","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/windsurf.png","href":"/agents/mcp-windsurf"},{"title":"Connect Migma MCP to Antigravity","sidebarTitle":"Antigravity","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/antigravity.png","href":"/agents/mcp-antigravity"},{"title":"Connect Migma MCP to Raycast","sidebarTitle":"Raycast","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/raycast.png","href":"/agents/mcp-raycast"},{"title":"Connect Migma MCP to VS Code","sidebarTitle":"VS Code","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/vscode.svg","href":"/agents/mcp-vscode"}]},{"group":"AI App Builders","pages":[{"title":"Use Migma with AI App Builders","sidebarTitle":"AI App Builders","icon":"cube","href":"/agents/app-builders"},{"title":"Use Migma with Lovable","sidebarTitle":"Lovable","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/lovable.png","href":"/agents/app-builder-lovable"},{"title":"Use Migma with Bolt","sidebarTitle":"Bolt","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/bolt.png","href":"/agents/app-builder-bolt"},{"title":"Use Migma with v0","sidebarTitle":"v0","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/v0.png","href":"/agents/app-builder-v0"},{"title":"Use Migma with Replit","sidebarTitle":"Replit","icon":"https://mintlify.s3.us-west-1.amazonaws.com/migmaai/images/logos/replit.png","href":"/agents/app-builder-replit"},{"title":"Use Migma with OpenClaw","sidebarTitle":"OpenClaw","icon":"lobster","href":"/openclaw"}]},{"group":"Agent Access","pages":[{"title":"Migma MCP Security for IT Administrators","sidebarTitle":"MCP for IT admins","icon":"shield-check","href":"/security/mcp"},{"title":"Agent Registration","sidebarTitle":"Agent Registration","icon":"robot","href":"/agent-registration"},{"title":"Migma Agent Authentication Protocol","sidebarTitle":"Agent Auth Reference","icon":"robot","href":"/agent-auth"}]}]},{"tab":"API Reference","icon":"code","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"tab":"Legal","icon":"scale-balanced","pages":[{"title":"Legal","href":"/legal/acceptable-use"}]},{"tab":"Changelog","icon":"clock-rotate-left","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Connect Migma to Grok Bot - MigmaAI","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-D0FT0qQs.js","DynamicMarkdown-CQM9Bhbv.js","zoom-image-lightbox-BQ4tbj_9.js","lightbox-handle-r17bVUz3.js"]}