> ## Documentation Index
> Fetch the complete documentation index at: https://deepkit-graphql.js.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Apollo

> Use [Apollo](https://www.apollographql.com/docs/apollo-server/) as the underlying GraphQL server

## 1. Installation

<Tabs>
  <Tab title="npm">
    ```sh theme={null}
    $ npm install @deepkit-graphql/apollo
    ```
  </Tab>

  <Tab title="yarn">
    ```sh theme={null}
    $ yarn add @deepkit-graphql/apollo
    ```
  </Tab>

  <Tab title="pnpm">
    ```sh theme={null}
    $ pnpm add @deepkit-graphql/apollo
    ```
  </Tab>
</Tabs>

## 2. Setup

```typescript theme={null}
import { ApolloGraphQLModule } from '@deepkit-graphql/apollo';

await new App({
  imports: [new ApolloGraphQLModule()],
}).run();
```

<Info>Remove `GraphQLModule` if it's already imported</Info>
