Create an X Developer App
You need an X Developer app to obtain OAuth 2.0 credentials.
Open the X Developer Portal
Go to X Developer Portal and sign in with your X account.
Enable OAuth 2.0 User Authentication
Configure your app to support OAuth 2.0 user authentication.
Open app settings
From your app’s dashboard, click App Settings, then under User authentication settings, click Set up.
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.
Copy OAuth 2.0 Client Credentials
Retrieve the Client ID and, if using a confidential client, the Client Secret.
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):Navigate to Connector Profiles
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