Embedded Analytics Blueprint

Prashant Soral

Sr. Director, Enterprise Architecture

This guide provides a blueprint for you to start your journey with embedding Sigma in your applications. We provide links to relevant features that you will need to hit the ground running and identify the typical roles responsible for each step.

Administrative Activities

These activities are performed by your Sigma administrator.

Step 1: To start building the assets that will be embedded, connect Sigma to your warehouse to start exploring data.

Step 2: Create a team for internal data analysts (internal_data_analyst_team) responsible for developing Sigma datasets.

Step 3: Create a team for internal resources (internal_dashbaord_dev_team) responsible for developing dashboards to be embedded.

Step 4: Create a team (e.g. all_clients_team) that every embed user will be a member of.

Step 5: Create a team for each customer of yours. Users from each customer will become members of the respective team. You can use Sigma’s team creation API to automate the creation of customer team’s when you onboard a new customer in your application.

Step 6: Create account types to map with the embedding license tiers you wish to provide to your customers.

Step 7: Create user attributes to represent the dimensions that control how data is segregated for each user.

Step 8: Generate an embed client credential that will be used to make embed URLs immutable.

Build Secure Datasets

This activity is performed by your internal data analysts. They need to create a Sigma dataset for each data domain that will be used in embedded dashboards. Each dataset should utilize the user attribute values passed through the embed URL to implement row-level security and only return rows relevant for the user logged-in to your application.

Build Sigma Workbooks to Embed

This activity is performed by your internal dashboard development resources. Simply utilize the secure datasets built by your data analyst team to build dashboards to be embedded. You can decide to embed a single visualization, a page or the entire workbook.

Develop Embed API

This activity is performed by your application’s back-end developers. They need to develop a simple back-end API in your language of choice that is responsible for generating a secure URL each time a user accesses an embed through your application. The API needs to use the embed client credential generated by your Sigma administrator to secure the URL. The URL includes several parameters that are explained here.

Add Embed iFrame to your Application

This activity is performed by your application’s front-end developers. They need to modify your applications’s front-end to include iFrames where Sigma embeds will be displayed. They also need to invoke the embed API developed in the previous step to retrieve the embed URL each time an embed iFrame is accessed and to use the URL returned by the embed API as the iFrame’s source.

You are now ready to unleash the power of embedded analytics through your application.

Looking for more information?

Sign up here to read Sigma’s whitepaper for an in-depth view into embedding
Read the documentation
for “step-by-step” guides to using Sigma, exploring specific features and use-cases

Where can I learn more about Sigma features and use cases?

Our online documentation is a great way to get high-level information on product features along with as much fine detail as you want.

Sigma QuickStarts provide “step-by-step” guides to using Sigma, exploring specific features and use-cases.