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.

The link function opens the widget to a specified connector and flow. If the tenant has not yet linked their credentials, it prompts them to connect. If they have already saved their credentials, it directs them to the connector management screen.

Parameters:

  • tenantId: string
  • connectorId: string
  • flowId: string
  • tenantMetadata: record<string, any>?
    • (optional): Sets metadata for the tenant.
  • connectValues: record<string, any>?
    • (optional): Prefills the connection form with specific values.
const hotglue = new Hotglue({
    tenantId: 'tenant-123',
    environmentId: '<ENV ID>',
    apiKey: '<PUBLIC API KEY>'
});
hotglue.link('tenant-123', 'shopify', 'aw3hH39');