Skip to main content

Clerk.io

info

We are currently working on a UI for Destinations. This means that you'll soon be able to setup Clerk.io directly from the Enterspeed APP yourself. But note, the Clerk.io destination itself is fully ready for production.

For now, contact us if you want to get started.

The Enterspeed Clerk.io integration uses the destinations field to send data from views directly to a configured Clerk.io store. This means that you can decide on the schema level which views you want to send to Clerk.io.

You will only have to set the destination field on the entity schema you want to send to Clerk.io. All schema references are automatically resolved so you don't have to set it on all referenced schemas.

It's possible to configure multiple Clerk.io destinations if you need to push different types of data to different Clerk.io stores.

info

As of now the Clerk.io integration only support pages. We are working on adding support for all type supported in Clerk.io.

Configuration

In order to setup the Clerk.io configuration you need the following:

SettingDescription
Clerk Public KeyThe unique public key of the Clerk.io store you want to integrate to
Clerk Private KeyA private key on the Clerk.io store you want to integrate to
Enterspeed Environment Client API KeyThe API key for an Enterspeed Environment client. This is used to fetch the view that will be inserted into Clerk.io

Options

Table of available options, that you can optionally specify, if needed for your use case.

SettingDescription
idBy default Enterspeed uses view id as the value for object id in Clerk. You can override default object id by providing value for this option.
clerkEntityTypeThe type of entity you want to send to Clerk. Supported values: page.

Example of usage

Clerk.io specific properties

Each type in Clerk.io (page, product, category, ...) has a set of required field which must be mapped in the Enterspeed schema.

See required fields here: https://docs.clerk.io/reference/page-resource

info

id is set automatically or by the options id if you use that, so you don't need to map this property.