> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.credal.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.credal.com/_mcp/server.

# createIntegration

GraphQL MUTATION

Creates an integration in the active organization. Requires permission to
manage integrations. Credentials that don't match the provider return a
BadRequestError.

Reference: https://docs.credal.com/api-reference/mutations/create-integration

## GraphQL Schema

```graphql
mutation ExampleMutation($request: CreateIntegrationRequest!) {
  createIntegration(request: $request)
}
```

## Variables

```json
{
  "request": {
    "nangoProvider": "example",
    "name": "example",
    "credentials": {},
    "defaultConnectionConfig": {}
  }
}
```