> This page is for Developer.

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

# createEventSource

GraphQL MUTATION

Creates an Amazon EventSource.

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/account/account-graphql/mutations/app/create-event-source

## GraphQL Schema

```graphql
mutation ExampleMutation($input: CreateEventSourceInput!) {
  app {
    createEventSource(input: $input) {
      eventSource {
        id
        awsAccount
        eventSourceName
        eventSourceRegion
        arn
        webhooksCount
      }
    }
  }
}
```

## Variables

```json
{
  "input": {
    "appId": "example",
    "awsAccount": "example",
    "eventSourceName": "example",
    "eventSourceRegion": "AF_SOUTH_1"
  }
}
```