> ## Documentation Index
> Fetch the complete documentation index at: https://trigger-v3-trigger-api-redesign.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Client & Adaptors

> The Client is how you interact with the API, through an Adaptor.

## Client

A Client is used to connect to a specific [Project](/documentation/concepts/projects) by using an [API Key](/documentation/concepts/environments-endpoints).

Clients are created using the `TriggerClient` class.

```ts
export const client = new TriggerClient({
  id: "my-webapp",
  apiKey: process.env.TRIGGER_API_KEY!,
});
```

View the [Client API Reference](/sdk/triggerclient) for more information.

## Adaptors

Adaptors allows Clients to receive data from the Trigger API. They do this by creating an API endpoint that data can be received at and transforming data into the expected format.

Each platform has one or more adaptors, see the guides below:

| Platform                                               | Adaptor               |
| ------------------------------------------------------ | --------------------- |
| [Next.js](/documentation/guides/platforms/nextjs)      | `createPagesRoute()`  |
| [Next.js](/documentation/guides/platforms/nextjs)      | `createAppRoute()`    |
| [NestJS](/documentation/guides/manual/nestjs)          | `TriggerDevModule`    |
| [Astro](/documentation/guides/platforms/astro)         | `createAstroRoute()`  |
| [Remix](/documentation/guides/platforms/remix)         | `createRemixRoute()`  |
| [Sveltekit](/documentation/guides/platforms/sveltekit) | `createSvelteRoute()` |
| Express                                                | Coming soon           |
