Skip to main content

Introduction to the widget

The hotglue widget is a white-labeled JavaScript component set for your users to link to hotglue integrations, without leaving your app.

The customizable pop-up widget can be opened from anywhere in your app


The inline Connections Component can be used in React apps

In addition to providing components, the widget library exposes client side functions for common hotglue tasks you can bake into your UI:
<script>
      function runJob(tenantId, flowId, connectorId){
        hotglue.runJob(tenantId, flowId, connectorId);
      }

      function getJobStatus(tenantId, flowId, jobRoot){
        hotglue.getJobStatus(tenantId, flowId, jobRoot).then((status) => console.log('::status', status));
      }
</script>

<button onclick="runJob('tenant-123', '98TjQnmQh', 'shopify')">Run Job</button>
<button onclick="getJobStatus('tenant-123', '98TjQnmQh', 'test-job-root')">Print Job Status</button>
I