Documentation

Integration Guide

This part of the documentation will guide you through the steps of embedding the Ingrid FAQ widget.

  1. Embed the widget script in the HEAD section:
<script src="https://cdn.ingrid.com/faq-widget/bootstrap.js"></script>

In staging/testing environment use this link: https://cdn-stage.ingrid.com/faq-widget/bootstrap.js

  1. Create an empty placeholder in the desired place of your webpage:
<div id="ingrid-faq-widget"></div>

The id should be globally unique.

  1. Initialize the widget:
new ingrid.faq("ingrid-faq-widget", {
auth_token: "ingrid-http-auth-token:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
country: "SE",
currency: "SEK",
locales: ["sv-SE"],
});

Following parameters are required:

Last updated: Thu, Nov 21, 06:15 AM