> **Building with AI coding agents?** Install the authstack plugin with one command. This equips your agent with accurate Scalekit implementation patterns.
>
> **Recommended**:
> ```bash
> npx @scalekit-inc/cli setup
> ```
>
> Global:
> ```bash
> npm install -g @scalekit-inc/cli
> scalekit setup
> ```
>
> Supports Claude Code, Cursor, GitHub Copilot, Codex + skills for 40+ agents.
> Features: full-stack-auth, agent-auth, mcp-auth, modular-sso, modular-scim.
> [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/)

---

# Twitter / X connector

1. ### Install the SDK

   ```bash frame="terminal"
       npm install @scalekit-sdk/node
       ```
     ```bash frame="terminal"
       pip install scalekit
       ```
     Full SDK reference: [Node.js](/agentkit/sdks/node/) | [Python](/agentkit/sdks/python/)

2. ### Set your credentials

   <AgentKitCredentials />

3. ### Set up the connector

   Register your Twitter / X credentials with Scalekit so it can authenticate requests on your behalf. You do this once per environment.

   <details>
   <summary>Dashboard setup steps</summary>

   <SetupTwitterbearerSection />

   </details>

4. ### Make your first call

   <QuickstartGenericApikeySection connector="twitterbearer" toolName="twitterbearer_activity_subscriptions_list" providerName="Twitter / X" />

## What you can do

Connect this agent connector to let your agent:

- **Username users lookup by, user lookup by** — Retrieves detailed information for 1 to 100 Twitter users by their usernames (each 1-15 alphanumeric characters/underscores)
- **Lookup users, user, posts** — Retrieves detailed information for specified X (formerly Twitter) user IDs
- **Stream users compliance, tweets compliance, tweet label** — Streams real-time compliance events (account deletions, deactivations, username changes, suspensions) for Users so downstream systems can stay in sync
- **Get user posts, user owned lists, user mentions** — Retrieves a collection of Posts (Tweets) authored by the specified user, most recent first
- **List user, timeline get, members get** — Retrieves all Twitter Lists a specified user is a member of, including public Lists and private Lists the authenticated user is authorized to view
- **Search spaces, recent, full archive** — Searches for Twitter Spaces by a textual query

## Tool list

Use the exact tool names from the **Tool list** below when you call `execute_tool`. If you're not sure which name to use, list the tools available for the current user first.

<ToolList tools={tools} />

---

## More Scalekit documentation

| Resource | What it contains | When to use it |
|----------|-----------------|----------------|
| [/llms.txt](/llms.txt) | Structured index with routing hints per product area | Start here — find which documentation set covers your topic before loading full content |
| [/llms-full.txt](/llms-full.txt) | Complete documentation for all Scalekit products in one file | Use when you need exhaustive context across multiple products or when the topic spans several areas |
| [sitemap-0.xml](https://docs.scalekit.com/sitemap-0.xml) | Full URL list of every documentation page | Use to discover specific page URLs you can fetch for targeted, page-level answers |
