Strigo Academy - Embedding Strigo within your web app

How to install Strigo in-app

Nir Cohen avatar
Written by Nir Cohen
Updated over a week ago

To make the Strigo Academy available in your web app, you'll have to embed Strigo's SDK within your app's codebase.

How does it work?

The SDK documentation is available here.

Here's the process:

  1. Embed Strigo in your app's codebase.

  2. Identify your end-users (the learners) in Strigo using the public API (seamlessly).

  3. Use the SDK to set up a user in Strigo's Academy after identification.

How to embed Strigo?

You need to add a javascript code snippet into your web app's codebase. This is a common practice for embedded widgets.

The code snippet can be found here.

Scroll down to the "Strigo In-app Init Script" section.

How to identify and set up learners?

Learners must be identified. It's a simple process that resembles common practices from other similar embedded tools. It involves calling a Strigo API call to identify the user.

Follow this guide in order to understand how it works.

How to set up a user?

Follow the setup instructions in the SDK documentation here.

What does the SDK offer?

These are the things you can do with the SDK:

  1. Embed Strigo in-app.

  2. Decide how to trigger Strigo's Academy panel - from a button in your UI or from a third-party tool.

  3. Decide which users are exposed to the Strigo Academy at all.

  4. Fire custom events for interactive course challenges.

Prerequisites

These are the requirements to run and embed Strigo:

  1. Strigo's SDK cannot be embedded if the "cross-origin-opener-policy" HTTP header rejects Strigo's domain.

  2. Make sure to add Strigo to whatever whitelist you have:

A few notes

  1. The SDK is open-sourced.

  2. All relevant instructions are available here for your engineering team to work with.

  3. To get the web API key and subdomain, see your account's settings page.

If you need any help with embedding or working with the SDK or API, don't hesitate to reach out to us via our support chat widget.

Did this answer your question?