Connect your own AI to Flow Studio (MCP)
You can build Final flows with your own AI tool, like Claude Code, Cursor, or ChatGPT, over MCP. On the Flow Studio home, type a prompt and choose Connect your own AI (MCP). Flow Studio gives you one block of text to paste into your tool, which then connects to Final and builds your flow.
Prefer to build with your own AI tool? Flow Studio lets you connect your own AI, such as Claude Code, Cursor, or ChatGPT, over MCP, so your tool builds a Final flow using its own model. Everything it builds still shows up in Flow Studio, where you can preview, refine, and deploy it. Here's how to connect.
Step 1: Start a prompt on the Flow Studio home
On the Flow Studio home, the "What will you build?" screen, start typing what you want to build. Your AI tool starts from this brief, so a sentence or two about the flow you want helps it begin well.
Step 2: Choose "Connect your own AI (MCP)"
Instead of Start, select Connect your own AI (MCP). Flow Studio creates your flow and generates the text you'll use to connect your tool.
Step 3: Copy the generated block
Flow Studio produces one self-contained block of text: setup instructions, the Final MCP server address, a one-time key, and your build brief. Copy the whole block.
Keep the key private. The block includes an organization key that lets your tool build in your Final account. Don't paste the block anywhere public.
Step 4: Paste it into your AI tool
Open your external AI tool (for example Claude Code, Cursor, or ChatGPT) and paste the block. Your tool uses it to wire up the connection to Final on its own, with no separate setup, and starts building your flow. This can take a few minutes.
Step 5: Keep building by chatting in your tool
From here, use your AI tool the way you normally would: ask it to change the design, add screens, or wire up features. It makes those changes in the same flow Flow Studio created for you.
Step 6: Watch the live preview
A preview window opens with a live demo of your checkout flow as your tool builds it. The session also appears back in Flow Studio as a read-only chat, so you can watch progress, preview the flow, and deploy it from Flow Studio when it's ready.
Already have a flow open?
You can also connect a tool to a flow you've already started: in the Flow Studio workspace, open the chat rail and choose Connect your AI tool.
Step by step
- 1
Start a prompt on the Flow Studio home
On the Flow Studio home ("What will you build?"), start typing what you want to build. This becomes the brief your AI tool starts from, so a sentence or two helps.
- 2
Choose Connect your own AI (MCP)
Instead of Start, select "Connect your own AI (MCP)". Flow Studio creates your flow and generates a block of text to connect your tool.
- 3
Copy the generated block
Flow Studio produces one self-contained block: setup instructions, the Final MCP server address, a one-time key, and your build brief. Copy the whole block. Keep the key private, because it's tied to your organization.
- 4
Paste it into your AI tool
Open your external AI tool (such as Claude Code, Cursor, or ChatGPT) and paste the block. Your tool wires up the connection to Final itself and starts building your flow. This can take a few minutes.
- 5
Keep building by chatting in your tool
Use your AI tool to change the design and features. It makes the changes in the same flow Flow Studio created for you.
- 6
Watch the live preview
A preview window opens with a live demo of your checkout flow as your tool builds it. The session also shows up in Flow Studio as a read-only chat, where you can preview, refine, and deploy.
Frequently asked questions
Which AI tools can I connect?
Any agentic tool that supports MCP, for example Claude Code, Cursor, ChatGPT, or Codex. Flow Studio gives you a block of text that works with any of them.
Do I have to set up the connection manually?
No. The block you copy includes the Final MCP server address and a one-time key, so your tool wires up the connection itself, with no separate connect step.
Is the key in the block sensitive?
Yes. It's an organization key that lets your tool build in your account, so keep it private and don't share the block publicly.
Where do the changes show up?
In the flow Flow Studio created for you. The external tool's session also appears in Flow Studio as a read-only chat, and you can preview and deploy the flow from there.
How long does it take?
After you paste the block, your tool connects and starts building. This can take a few minutes before the preview appears.
Can I connect a tool to a flow I already started?
Yes. In the Flow Studio workspace, open the chat rail and choose Connect your AI tool to connect an external tool to your current flow.
