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

# Add Codex to Your App

> You have two options for adding the Codex API into your app

| Option 1: *SDK* (recommended)                | Option 2: *GraphQL API*                           |
| -------------------------------------------- | ------------------------------------------------- |
| Thin wrapper around the API                  | More customizable depending on your use case      |
| Designed to get you started on Codex quickly | Requires more configuration                       |
| Built-in subscription connection handling    | More control over the connections                 |
| Predefined queries and mutations             | Write your own queries                            |
| Good choice if you *ARE* using Typescript    | Good choice if you *ARE NOT* not using Typescript |

<CardGroup cols={2}>
  <Card title="Use the Typescript SDK" icon="box" iconType="regular" href="/sdk">
    Recommended option to get started
  </Card>

  <Card title="Use the GraphQL API" icon="code" href="/learn-graphql">
    Powerful, but requires more configuration
  </Card>
</CardGroup>
