Installing Candu

Learn how to embed the Candu SDK, whitelist your domains, and verify the installation in less than five minutes.

Two Key Installation Steps

There are two core steps to installing Candu (full guide here):

Step 1 – Add the Script Tag

Add the Candu script tag to your application. We recommend adding it to the header of your product/site.

Step 2 – Whitelist Domains

Whitelisting the domains you are going to be using Candu on

  1. Depending on your Content Security Policy (CSP) you may also need to whitelist the following URLs
    1. https://api.candu.ai/
    2. https://cdn.candu.ai/
    3. https://media.candulabs.com/
    4. Optional https://sentry.io/(Not required for functionality; used to capture errors)

Please note: You have the option to set up multiple Workspaces in Candu to separate and organize content, e.g., a workspace for your Staging/Sandbox environment and one for Production. Each workspace has a separate Candu script tag, whitelisting, and segmentation setup.

Optional Steps

Optionally, there may be two further steps:

  1. Sending user traits data or eventing data into Candu to use our personalization features
  2. Setting up signed identities if you are sending us personally identifiable information (PII).