Skip to main content

Widget (Terpli) Setup

Supported Ecommerce Platforms

Terpli works with the following Ecommerce providers:

  • AIQ Ecommerce

  • Jane Ecommerce

  • Blaze Ecommerce (fka Tymber) with Blaze POS and Treez POS

  • Treez Ecommerce with Treez POS

  • Dutchie Ecommerce via Dutchie Plus API

  • Rank Really High

    • v2 via Rank Really High API

    • v1 via Jane roots API & Dutchie Plus API

  • Leafbridge via Dutchie Plus API

  • Range Marketing via Dutchie Plus API


Requesting Terpli

Terpli is enabled by the AIQ team and is not currently a full self-service feature.

If Terpli has not yet been enabled for your account, you will see an empty state with a button to request access.

When you click the Enable Terpli button:

  1. A request is sent to the AIQ Support Team.

  2. A confirmation modal appears stating that your request has been submitted.

  3. AIQ Support will reach out to assist with enabling Terpli for your account.


Terpli Enrollment Tiers

Terpli billing is based on the number of menus per physical location, not menu type.

Primary (Base License)

  • Applies to any location with one menu, e.g.

    • Recreational only

    • Medical only

    • In Store only

    • Kiosk only

    • Or a single combined menu

  • Billed at the primary rate

  • Every active location requires a primary license

Secondary (Additional Menu Surcharge)

  • Applies when a location has two menus (e.g. Recreational & Medical, or In Store & Kiosk)

  • Billed in addition to the primary rate

  • Represents the second menu at the same location

Key Rules

  • Every location pays at least one primary license

  • A secondary license cannot exist on its own

  • Billing is determined by menu count per location, not license type

Additional Notes

  • Medical-only states (e.g., LA, AR, MS) are unaffected

    • A medical-only store has one menu and pays the full primary rate

  • Locations with dual menus will always incur a secondary surcharge


Adding Terpli to More Locations

If Terpli is already enabled for some locations, you will see options to activate additional locations.

You can request activation for more locations by:

  • Clicking the Enable more locations button, or

  • Selecting Activate more locations from the More (⋯) menu.

Submitting this request follows the same process and notifies the AIQ Support Team to complete the setup.


Getting Terpli on your Website

  1. Navigate to Settings > Terpli > Setup and click + Add New Credentials

  2. Fill out the details for the credentials you'll need to add

  3. Terpli should show up on your website afterwards

  4. Add the pixel to your site:

    1. Navigate to Settings > API & Tracking and copy the code under Tracking Pixel Code

    2. You will then need to add the pixel to your website. See: Pixel Tracking for more information on how to do this


Full-Page Embedded Terpli

Want Terpli to take over an entire page on your website, like a dedicated "Virtual Budtender" page? You can set this up using either the Widget code (recommended) or the Embed on Website code.

Get your code

  1. Navigate to your Terpli AI settings (Astro AI > On-site AI > Terpli AI)

  2. Click the More (⋯) menu in the top right, next to Save

  3. Click Share Terpli

  4. Copy the code for the method you're using: Widget (Method 1) or Embed on Website (Method 2)

In the examples below, replace {{uid}} with your own UID. If you copy the code directly from Share Terpli in your account, your UID is already filled in.

Method 1: Widget (Recommended)

This is the method used on the live demo below.

  1. On the page where you want Terpli to appear, add the style and the terpli_container div where you want Terpli to display

  2. Add the Widget script before the closing </body> tag. If the Widget script is already installed on every page of your site, don't add it a second time

<style>
#terpli_container {
width: 100%;
height: 100vh; /* fallback for older browsers */
height: 100dvh; /* adjusts for mobile browser toolbars */
}
</style>

<div id="terpli_container"></div>

<script defer id="aiq" src="https://lab.alpineiq.com/aiq/sdk.js" data-ids="{{uid}}"></script>

Only add one terpli_container div per page.

Method 2: Embed on Website (iframe)

If you'd rather use an iframe, place the Embed on Website code inside the container so it fills the page.

<style>
#terpli_container {
width: 100%;
height: 100vh; /* fallback for older browsers */
height: 100dvh; /* adjusts for mobile browser toolbars */
}
#terpli_container iframe {
width: 100%;
height: 100%;
border: 0;
}
</style>

<div id="terpli_container">
<iframe src="https://widget.aiq.com/?uids={{uid}}" frameborder="0" allow="accelerometer; encrypted-media; gyroscope;"></iframe>
</div>

Live demo

See a full-page Terpli embed in action here: Evergreen Essentials Virtual Budtender

Custom Build

To build a custom Terpli widget, see our Terpli Custom Implementation developer documentation.

Did this answer your question?