← Documentation

Install a widget

From registration to a published widget on your website.

  1. 1.

    Create an account

    Sign up for Pliget or sign in to an existing account.

    Sign up →
  2. 2.

    Open your dashboard

    Go to your Pliget dashboard after signing in.

    Open dashboard →
  3. 3.

    Create a site

    In the dashboard, create a site for the website where your widgets will appear.

    Manage sites →
  4. 4.

    Create a widget inside the site

    Open your site, add a widget and choose its type. Configure the content, appearance and behavior in its editor.

  5. 5.

    Publish the widget

    Open the widget editor’s Publish tab, complete the available publication settings and publish the widget. Draft widgets are not publicly delivered.

  6. 6.

    Copy and install the embed code

    Copy the generated embed snippet from the Publish tab and paste it into the target website. Test the live result.

Install on your website

  1. Create the widget in your Pliget dashboard and configure its content and appearance.
  2. Save and publish it. Drafts are not delivered by the public widget endpoint.
  3. Copy the embed snippet from the widget editor and place it on the target website.
  4. Verify the public widget on desktop and mobile. Make sure the site origin and publication settings are correct.
<script async src="https://cdn-dev.pliget.com/widget.js" data-widget="YOUR_PUBLISHED_WIDGET_ID"></script>

Illustrative snippet: use the exact generated code and widget ID from your dashboard. Do not reuse another site's ID.