> For the complete documentation index, see [llms.txt](https://wingbits.gitbook.io/wingbits-ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wingbits.gitbook.io/wingbits-ai/build/access-and-auth.md). Agents can also search and read this documentation through its [MCP server](https://wingbits.gitbook.io/wingbits-ai/~gitbook/mcp).

# Access & authentication

How you authenticate depends on which access layer you use.

## Which credential do I need?

| Access layer                                                                       | Credential                        | Where it comes from             |
| ---------------------------------------------------------------------------------- | --------------------------------- | ------------------------------- |
| [Live stream (NATS)](https://wingbits.gitbook.io/wingbits-ai/build/nats-stream.md) | A `.creds` file (JWT + NKEY seed) | Issued by Wingbits              |
| [REST API](https://wingbits.gitbook.io/wingbits-ai/build/rest-api-quickstart.md)   | API key (bearer token)            | Self-serve dashboard / Wingbits |
| [gRPC stream](https://wingbits.gitbook.io/wingbits-ai/build/grpc-streaming.md)     | API key / token                   | Wingbits                        |
| [MCP](https://wingbits.gitbook.io/wingbits-ai/build/mcp-integration.md)            | Connector auth                    | Wingbits                        |

## NATS credentials

The live stream uses **JWT-based authentication**. You receive a `.creds` file containing a JWT and an NKEY seed:

```
-----BEGIN NATS USER JWT-----
eyJ...                      <- the JWT (starts with eyJ)
------END NATS USER JWT------

-----BEGIN USER NKEY SEED-----
SU...                       <- the seed (starts with SU, ~58 chars)
------END USER NKEY SEED------
```

**How to recognize a valid creds file:** it contains a long JWT starting with `eyJ` and a seed starting with `SU`. If you only have one of these, or the blocks are empty, the file is incomplete — ask us to re-send it.

* **Server:** `nats://nats-cluster.wingbits.com:4222`
* Credentials are scoped per customer; [add-ons](https://wingbits.gitbook.io/wingbits-ai/data-products/add-ons.md) like `flights.adsc` / `flights.acas` must be explicitly enabled.

Full walkthrough → [Real-time stream (NATS)](https://wingbits.gitbook.io/wingbits-ai/build/nats-stream.md).

## REST API keys

Pass your key as a bearer token:

```
Authorization: Bearer <your-api-key>
```

→ [REST API quickstart](https://wingbits.gitbook.io/wingbits-ai/build/rest-api-quickstart.md)

## Don't have access yet?

* Assistant: sign up at [wingbits.ai](https://wingbits.ai).
* Data / API trials: email [**sales@wingbits.com**](mailto:sales@wingbits.com).
