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

# generateAccountLinkUrl

GraphQL MUTATION

Generates a signed launch URL for Google's account-linking popup. Call this only when the merchant clicks "Connect", not on page load. The embedded nonce/timestamp expires, so requesting one ahead of time is not recommended.

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/admin/mutations/google-agentic-commerce/generate-account-link-url

## GraphQL Schema

```graphql
mutation ExampleMutation($input: GenerateGoogleAccountLinkUrlInput!) {
  googleAgenticCommerce {
    generateAccountLinkUrl(input: $input) {
      accountLinkUrl {
        launchUrl
      }
      errors
    }
  }
}
```

## Variables

```json
{
  "input": {
    "channelId": "example"
  }
}
```