Set up Braze Connected Content for Jacquard

Prev Next

For Braze admins and developers. Set up the Jacquard Connected Content credential and block once in your Braze workspace. Every Jacquard delivery uses them.

Placeholders: values in angle brackets are account-specific. Your Jacquard contact provides them.

Existing customers: keep your existing Jacquard credential and blocks. Create these only for new touchpoints.

Connected Content

  • One credential and one Connected Content block serve all touchpoints. Nothing in them changes per campaign.

  • The delivery code from each touchpoint’s Delivery tab calls the block and passes the touchpoint details.

1. Jacquard | Before you start

1.1 Security token

Create a token with the Runtime selection permission. See Create a Jacquard security token for Braze.

1.2 Connector

Connect Braze in Connectors. See Connect Braze to Jacquard.

2. Braze | Add the credential

2.1 Open Credential Management

In Braze, go to Settings > Credential Management (also under Content > Credential Management). Click Add credential, then Token authentication.

2.2 Credential name

JQRD_TOKEN. Use exactly this name. The block refers to it.

2.3 Request header

  • Key: x-api-key

  • Value: your jq_live_ security token.

2.4 Allowed domain

runtime-gw.platform.jacquard.com

2.5 Save

Click Add credential. Braze doesn’t show the token again after saving.

3. Braze | Create the Connected Content block

3.1 Create the block

  • In Braze, go to Content > Content Block and click Create Content Block.

  • Name: JQRDContent. Use exactly this name.

  • Paste the code below and save.

{% comment %}
  JQRDContent — universal Jacquard content block.
  Each touchpoint sets JQRDTouchpointId before including this block.
  Returns: jqrd.fragments.<fragment_name>
{% endcomment %}{% connected_content https://runtime-gw.platform.jacquard.com/api/v1/select/{{JQRDTouchpointId}}?delivery_id={{campaign.${dispatch_id}}}&recipient_id={{${user_id} | url_param_escape}}
  :method post
  :auth_credentials JQRD_TOKEN
  :retry
  :save jqrd %}
  • Each touchpoint sets JQRDTouchpointId before including the block. The Delivery tab shows that code.

  • The copy is returned as jqrd.fragments.<fragment_name>.

3.2 Check the block

  • It uses :auth_credentials JQRD_TOKEN.

  • It doesn’t contain the token.

  • The code is unedited.

Reference

Item

Source

Destination

jq_live_ security token

Jacquard Admin > API keys & webhooks

Braze credential (x-api-key)

Block code

This guide

Braze Content Block JQRDContent

Troubleshooting

Block preview shows an error

Check the credential header is x-api-key, the token is active with the Runtime selection permission, and the credential is named exactly JQRD_TOKEN.

Keys and tokens

  • Don’t share keys by email, chat, tickets or shared documents.

  • If a key is exposed: create a new one, update it everywhere, revoke the old one (Admin > API keys & webhooks).