Skip to content

Figma Setup

Create a Figma OAuth app to access design files, comments, and variables through Fp Switchboard.

  1. Create a Figma App

    Go to Figma Developer Apps and click “Create a new app”.

  2. Configure App Settings

  3. Add Redirect URI

    Add the OAuth callback URL:

    https://api.switchboard.fpdigital.ai/oauth/figma/callback
  4. Configure Scopes

    Add the required scopes:

    files:read
    file_variables:read
    file_variables:write
    file_comments:write
  5. Copy Credentials

    Copy the Client ID and Client Secret from your app settings.

Terminal window
npx wrangler secret put FIGMA_CLIENT_ID
npx wrangler secret put FIGMA_CLIENT_SECRET
VariableDescription
FIGMA_CLIENT_IDOAuth Client ID from Figma Developer Apps
FIGMA_CLIENT_SECRETOAuth Client Secret from Figma Developer Apps
https://api.switchboard.fpdigital.ai/oauth/figma/callback
  • Figma API rate limit: 720 requests per minute
  • File access is scoped to the connected user’s permissions
  • Design variables require the file_variables:read/write scopes
  • “Invalid scope” error: Ensure you’ve added the exact scope names listed above. Figma scopes use underscores, not dots.
  • File not accessible: The connected user must have at least viewer access to the file in Figma.
  • Large file timeout: Very large Figma files may take longer to process. Switchboard handles timeouts automatically.
  1. Go to your Switchboard Dashboard and navigate to Figma
  2. Click Connect and authorize in Figma
  3. Click Test Connection to verify
  4. Try: “List my recent Figma files” or “Get comments on [file name]”