Auth Concepts
Understand the core concepts behind Composio Auth
Composio Auth simplifies integrating user-authorized actions into your app. It securely manages OAuth flows, handles token storage, and ensures actions are executed with the correct user’s credentials.
Composio Auth relies on three core concepts. Integration, Connection, Entities.

Getting Started
Let’s use Composio Auth to use the X (formerly Twitter) API to read a tweet.
Initiate connection to the X API
Here, we’ll initiate a connection to the X API. This will redirect you to the X OAuth login page where you can login and grant permissions.
Wait for connection to be active
Here, we wait for the connection process to finalize and become active.
Read the tweet
Here, we’ll read the tweet from the X API. We specify the connection ID to use the correct user’s credentials.