Skip to main content

What are Custom Params?

hotglue allows you to specify custom parameters that will be collected before a tenant links an integration in the hotglue widget. These parameters are then made available to your transformation script during execution. The screenshot below shows a sample of custom parameters applied to a QuickBooks integration:

Enabling custom params

Start a JupyterLab workspace

To enable custom params, you should first launch a JupyterLab workspace.

Configure the custom params

Once inside, you will create an availableSources.json which specifies an override for the source you wish to specify custom parameters for. A sample is given below:
JSON
As you can see above, all parameters are listed under the connect_ui_params key and have the following options:

Deploy the custom params

Once you’ve specified the parameters, you must deploy them to hotglue. To start, verify your availableSources.json is in the root directory as shown below:
3068

availableSources.json in JupyterLab

Now select the hotglue tab in the toolbar and select Deploy ETL
3068

deploy availableSources

That’s all! Now if you open the hotglue widget, you should see your custom parameters visible there.

How to access the custom params?

Now that your custom params are configured, you can access the values tenants set in your transformation script. The data will be available in the config.json file, here’s a sample script:
Python