Docs

Search G2X User Guide

Find a guide by task or topic. Use the arrow keys to choose a result.

Home
Docs home
Guides
  • Connect your AI agent
  • Connect Claude
  • Connect Claude Code
  • Connect ChatGPT
  • Connect Microsoft Copilot
  • Connect Gemini
  • Connect Grok Bot
  • Use G2X GovCon Growth OS in Grok Bot
  • Use G2X with Vercel Connect
  • Connect Notion
  • Connect Cursor
  • Connect VS Code
  • Connect Codex
  • Connect Devin
  • Connect Le Chat
  • Connect Manus
  • Connect Factory
  • Connect the GovCon MCP to Zapier
  • Connect n8n
  • Connect Make
  • Connect Replit
  • Connect Muse
  • Connect Hermes Agent
  • What you can ask
  • Install the GovCon skill
  1. Docs
  2. Use G2X with Vercel Connect

Use G2X with Vercel Connect

G2X's connector on Vercel Connect gives the apps and agents you deploy on Vercel a G2X connection for each signed-in user.

On this page
  • Vercel Connect
  • What each user needs
  • Keep going

Vercel Connect

Vercel Connect gives the apps and agents you deploy on Vercel short-lived access to other services. G2X on Vercel Connect is G2X's own listing there. Your app asks Vercel Connect for a G2X token for each signed-in user, and each user signs in to G2X once.

  1. Link your project with vercel link, then run vercel env pull so your local code can reach Vercel Connect.
  2. Open G2X on Vercel Connect and choose Create Connector, or run vercel connect create g2x --name my-g2x in your linked project.
  3. Install the SDK with npm install @vercel/connect.
  4. In your app, request a G2X token for the signed-in user with getToken('g2x/my-g2x', ...), using a user subject.
  5. The first time a user asks, send them to the consent address that startAuthorization returns. They sign in with their G2X account and choose Allow.
  6. Use the token with your MCP client at https://mcp.g2x.com/mcp. Vercel's AI SDK and MCP adapter can pass it for you.

Steps checked against G2X on Vercel Connect and Vercel's Connect quickstart.

What each user needs

Each user needs a G2X account. Every G2X plan works, including the free Community Edition, and each user's plan and permissions set what G2X returns. Vercel's own plans and terms apply to Vercel Connect.

Keep going

  • What you can ask
  • Build with the G2X MCP server

Vercel, the Vercel design, Next.js and related marks, designs and logos are trademarks or registered trademarks of Vercel, Inc. or its affiliates in the US and other countries.

PreviousUse G2X GovCon Growth OS in Grok BotNextConnect Notion

On this page

  • Vercel Connect
  • What each user needs
  • Keep going

Share this guide