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

# GraphQL

> Call any internal or external GraphQL API from Prod AI

## Setting up GraphQL

### 1. Add integration

Select **GraphQL** from the&#x20;
**integrations page**.

### 2. Configure settings

Fill out the form with the following settings:

| Field | Required | Description |
| - | - | - |
| URL | ✓ | GraphQL URL to connect to |
| Authentication | ✓ | The [authentication type](https://docs.prod.ai/integrations/auth/authentication-types.md) you want to use. See detailed instructions for setting up API auth in our docs on [Authentication & authorization](https://docs.prod.ai/integrations/auth/authentication-types.md) |
| Headers | ✗ | List of headers that will be added to requests to your API |

### 3. Test and save

Click **Test Connection** to check that Prod AI can connect to your API.

After connecting successfully, click **Create** to save the integration.

**GraphQL connected!**
You can now build
[apps](https://docs.prod.ai/coding-agents/apps.md) and [agents](https://docs.prod.ai/coding-agents/agents.md) with GraphQL.


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