Create a Chartio Connection

White Label Data allows you to embed a Chartio iFrame inside your application. Chartio Embedding is an optional service offered by Chartio. In order to embed Chartio iFrames, you must retrieve your Embed Secret from Chartio using the steps outlined here.

Example appconfig.json:

 "connections" : [
        {
            "type" : "chartio",
            "organization_id" : "445566",
            "env_var" : "CHARTIO_SECRET"
        }
    ]
Option Example Description
host "embed.chartio.com" DNS name of the Chartio embed API endpoint. Usually “embed.chartio.com”
organization_id "445566" Organization ID from Chartio. See https://chartio.com/docs/embedding/embedding-a-dashboard/
env_var CHARTIO_SECRET” Name of environment variable that will hold the Chartio embed secret. You can find your Chartio embed secret by going to your dashboard settings and clicking on Embed.

Note: You must also add this environment variable to your environment settings for your instance. See “Adding connection environment variables to your local development environment” here.