Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.hotglue.com/llms.txt

Use this file to discover all available pages before exploring further.

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.

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>