> ## 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

> Two ways to integrate the Codex crypto data API into your app: the TypeScript SDK or direct GraphQL over HTTP and WebSockets.

| 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>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.