Skip to content

PandaDoc Setup

Create a PandaDoc OAuth app to manage documents, templates, contacts, and e-signatures through Fp Switchboard.

  1. Access Developer Portal

    Go to PandaDoc Developers and sign in with your PandaDoc account.

  2. Create an OAuth Application

    Create a new application in the developer portal.

  3. Configure App Settings

    • App name: Fp Switchboard
    • Description: MCP integration for document management
  4. Add Redirect URI

    Add the OAuth callback URL:

    https://api.switchboard.fpdigital.ai/oauth/pandadoc/callback
  5. Enable Permissions

    Enable read and write access for:

    • Documents
    • Templates
    • Contacts
  6. Copy Credentials

    Copy the Client ID and Client Secret.

Terminal window
npx wrangler secret put PANDADOC_CLIENT_ID
npx wrangler secret put PANDADOC_CLIENT_SECRET
VariableDescription
PANDADOC_CLIENT_IDOAuth Client ID from PandaDoc Developer Portal
PANDADOC_CLIENT_SECRETOAuth Client Secret from PandaDoc Developer Portal
https://api.switchboard.fpdigital.ai/oauth/pandadoc/callback
  • Access tokens expire after 1 hour
  • Refresh tokens are used automatically
  • Document creation supports templates with pre-filled fields
  • “API access not available” error: Your PandaDoc plan may not include API access. Upgrade to Business plan or higher.
  • Template fields: When creating documents from templates, field names must exactly match the template’s field definitions.
  • Document status: Documents go through states (draft, sent, viewed, completed). Some operations are only available in certain states.
  1. Go to your Switchboard Dashboard and navigate to PandaDoc
  2. Click Connect and authorize
  3. Click Test Connection to verify
  4. Try: “List my PandaDoc documents” or “Create a document from template”