Skip to main content
An X Developer account with an approved project and app is required. Apply at developer.x.com if you do not have access.

Create an X Developer App

You need an X Developer app to obtain OAuth 2.0 credentials.

1

Open the X Developer Portal

Go to X Developer Portal and sign in with your X account.

2

Create a project and app

In the left sidebar, click Projects & Apps > Overview, then click + Create App or + New Project to create a new project and app.

  • Enter a project name and use case, then click Next.
  • Enter an app name and click Complete.

Enable OAuth 2.0 User Authentication

Configure your app to support OAuth 2.0 user authentication.

1

Open app settings

From your app’s dashboard, click App Settings, then under User authentication settings, click Set up.

2

Configure authentication settings

Fill in the required fields.

  • Set App permissions to the required access level (e.g., Read and Write and Direct Messages).
  • Set Type of App to Web App, Automated App or Bot for confidential clients, or Native App for public clients (PKCE only).
  • Under App info, enter a Callback URI (redirect URI) — see next step.
3

Add the redirect URI

In the Callback URI / Redirect URL field, enter the following URI and click Save.

  • https://api.stackone.com/connect/oauth2/x/callback

Copy OAuth 2.0 Client Credentials

Retrieve the Client ID and, if using a confidential client, the Client Secret.

1

Open Keys and Tokens

Navigate to your app’s Keys and Tokens tab.

2

Copy Client ID and Client Secret

Under OAuth 2.0 Client ID and Client Secret, copy the Client ID.

  • If your app is a confidential client, click Regenerate to generate a Client Secret and copy it. Store it securely for use later — it will not be shown again.
  • Public clients (PKCE only) do not require a Client Secret; leave that field blank.

Creating the StackOne Connector Profile

To create the Connector Profile in StackOne for X (Twitter):
1

Navigate to Connector Profiles

Login to StackOne and navigate to Connector Profiles
2

Create New Connector Profile

  • Click + Connector Profile
  • Search for and select X (Twitter)
  • Select Type as OAuth 2.0
  • Fill out the fields using details retrieved from your provider:
    • Client ID
    • Client Secret (Optional)
    • Scopes (Optional)
  • (Optional) Select Actions to be enabled for this Connector Profile
  • Click Create profile
Congratulations! The new Connector Profile will now show up in your project ready to be used. You can now continue to Link Accounts for X (Twitter).