Skip to main content

Documentation Index

Fetch the complete documentation index at: https://auth0.com/ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Connect your AI agent to a user’s Twitter account to monitor for specific keywords or mentions, automatically reply to certain types of tweets, and schedule new content for posting.

Connect X to Auth0

1

X setup

  1. Visit the X Developer account page and sign up.
  2. Follow the onscreen instructions to create a new App in the X Developer Console.
  3. Complete the Consent Screen Information form.
  4. Navigate to Project and Apps and click on your app and go to settings.
  5. Go to User authentication settings and click on edit.
  6. Configure your permissions.
  7. Select type of App to enable OAuth2.0 Authentication.
  8. Configure OAuth redirect URL:
    • Redirect URL: https://YOUR_AUTH0_DOMAIN/login/callback
    You can find the Auth0 domain in the Auth0 Dashboard.You can find this under Applications > [Your Application] > Settings > Basic Information > Domain.If you are using the custom domains feature, your Auth0 domain is the custom domain. You can find this under Branding > Custom Domains.
  9. Click Save.
  10. Still on the App settings page, click keys and tokens tab.
  11. Copy the Client ID and Client Secret.
To learn more about setting up X, read the X developer documentation.
2

Auth0 setup

Token Vault configuration example

To configure the Token Vault for your X connection, you can use the following code snippet in your application:

Next steps

  • To learn how to configure applications to access Token Vault, read Configure Token Vault.
  • If your application uses Organizations, authenticate the user with the target organization before initiating the Connected Accounts flow. Connected accounts remain linked to the individual user profile.
  • To learn how to get an access token to make a tool call, complete the Call other’s APIs on user’s behalf Quickstart.