Skip to content
Local environment Preproduction — not production data

API Credentials

API credentials let you securely authenticate when integrating with Factorial Code.
Each API Credential you create generates:

  • An OAuth 2.0 Client Credential (Client ID + Client Secret) to call the Factorial Code REST API.
  • A Factorial Code Run API Token to authenticate requests to the Factorial Code Run API.
  • MCP Server endpoints (OAuth and No-OAuth) derived from the same credential.

Use these values in your integrations and rotate/delete the credential if you need to revoke access.

Screenshot

Uses the Client ID and Client Secret (OAuth 2.0 Client Credentials).

Uses the Factorial Code Run API Token.

Provides OAuth and No-OAuth endpoints linked to the same credential.

Creating an API Credential automatically generates:

  • An OAuth 2.0 Client Credential (Client ID + Client Secret) for the Factorial Code REST API.
  • A Factorial Code Run API Token for authenticating against the Run API.
  • MCP endpoints (OAuth and No-OAuth) derived from those credentials.
  1. Go to the API Credentials tab on the Settings page.
  2. Click any New button (both buttons trigger the same creation flow).
  3. Enter a name for the credential.
  4. Click Create.

After creation, the page will display:

  • Client ID
  • Client Secret
  • Run API Token
  • MCP endpoints (OAuth and No-OAuth variants)
Screenshot
  1. Go to the API Credentials tab on the settings page.
  2. Click on the “Delete” button.
  3. Confirm the deletion.
Screenshot