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

# contextualRedoDestinationConnect

> Connect the store's Redo destination to Contextual: issues a Redo API token, gives it to Contextual, and starts sending the store's enabled events to Redo. Returns the destination as published; read `contextualDestinationHealth` for its event delivery. Reuses the store's Redo destination when its status is `DISCONNECTED` or `ERROR`. ACTION_REJECTED (422) when the store's Contextual isn't set up yet: set up its tracking subdomain with `contextualTrackingDomainCreate` first. A destination that is already connected is returned as is, with no new token.

**Required scopes:** [`marketing_settings_write`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-marketing_settings_write)

**Store must have one of:** `CONTEXTUAL`

## Returns

**contextualRedoDestinationConnect** `[ContextualRedoDestinationConnectResult!](/docs/api-reference/v3/reference/marketing/contextual-redo-destination-connect-result)` *required*

The Redo destination as Contextual published it on connect.

**fields**

**externalId** `String!` *required*

Contextual's id for this destination.

**status** `[ContextualDestinationStatus!](/docs/api-reference/v3/reference/marketing/contextual-destination-status)` *required*

Connection status Contextual returned on publish.

## Example

```graphql theme={null}
mutation {
  contextualRedoDestinationConnect {
    externalId
    status
  }
}
```


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