Skip to main content
You need a G2 Developer Portal account. If your organization already has one, ask your G2 admin to add you rather than creating a second organization.

Generating an API token

G2 issues API tokens from the G2 Developer Portal. The token carries only the endpoint permissions you select while generating it, so set them before you generate.

1

Create your Developer Portal account

Sign in at the G2 Developer Portal, or select Create an account if you do not have one. Skip this step if you can already reach the portal.

  • Verify your email address.
  • Organization Name: your company name
  • Organization Slug: a unique short name for your organization
  • The slug becomes part of your portal address, so use it to sign in from then on.
  • If the slug is already taken, your organization has a portal already. Ask your G2 admin to add you instead.
2

Generate the token

Navigate to the Access Tokens tab, then select Generate Token.

  • Name: StackOne Integration
  • Description: optional
  • Resource Owner: select Organization for a token shared by your whole organization, or User for a personal token
  • In the Permissions panel, use the Access dropdown for each endpoint to select the access level.
  • Endpoints without a selection are not accessible with the token, so select every endpoint the integration needs.
  • Select Generate Token to add the token to the API Tokens panel.
3

Copy the token

In the API Tokens panel, select the Eye to reveal the token, then copy the API Token across.

  • Select Details at any time to review the permissions assigned to the token.
  • Access tokens expire one year after creation and must be regenerated to keep the connection working.
1

Connect

  • Click Connect.
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup.
2

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.