> ## Documentation Index
> Fetch the complete documentation index at: https://docs.corsair.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Credentials

> Step-by-step instructions for obtaining TwitterAPI.io API keys and webhook secrets for the Corsair TwitterAPI.io plugin.

This guide walks you through obtaining all required credentials for the TwitterAPI.io (`twitterapiio`) plugin.

## Authentication Method

The TwitterAPI.io plugin uses API key authentication.

* **[`api_key`](/concepts/api-key)** (default) — API key for the [twitterapi.io](https://twitterapi.io) service

This provider is a third-party Twitter/X data API; it is separate from the official X Developer Platform.

## API Key

### Step 1: Create an Account and Key

1. Sign up or log in at [twitterapi.io](https://twitterapi.io) (or the provider’s current console URL).
2. Open **Dashboard** / **API Keys** / **Credentials**.
3. Generate a new API key and copy it.

**Storing credentials:**

```bash theme={null}
pnpm corsair setup --plugin=twitterapiio api_key=your-api-key
```

Verify:

```bash theme={null}
pnpm corsair auth --plugin=twitterapiio --credentials
```

## Webhook Secret

If you enable webhooks from TwitterAPI.io to your application, configure the signing secret the service provides for verifying requests (for example headers such as `x-twitterapiio-signature`).

**Storing credentials:**

```bash theme={null}
pnpm corsair setup --plugin=twitterapiio webhook_signature=your-webhook-secret
```

## Required Credentials Summary

| Credential     | Required for                        | Where to find                   |
| -------------- | ----------------------------------- | ------------------------------- |
| API key        | [`api_key`](/concepts/api-key) auth | TwitterAPI.io dashboard         |
| Webhook secret | Webhooks (if used)                  | Webhook / subscription settings |

For general information about how Corsair handles authentication, see [Authentication](/concepts/auth).
