Skip to content

Custom Connections

Custom Connections allow you to store sensitive parameters and pass them into Custom Ingest, Parse, and Post-Output notebooks. DataForge will encrypt and mask these parameters so that they are never visible in plain text to anyone using the platform. They are useful for storing credentials used to access data.

To create a Custom Connection:

  1. Navigate to the Connections tab and click New +
  2. Set Connection Direction to Source for Custom Ingest and Parse notebooks, or Output for Custom Post-Output notebooks
  3. Set Connection Type to Custom
  4. Set Parameter values
  5. Click Save

Parameters

Custom connections provide settings for Public and Private parameters. The format of both parameters is JSON. Find more infomation about JSON standard here.

The Public Connection Parameters are stored unencrypted and visible to all users of DataForge. Never store a password or sensitive information here.

The Private Connection Parameters are stored encrypted and masked from DataForge users. Once they are saved, you'll have to retype the values if you ever want to update them. This is a good place to store credentials.

Saving the Connection

Clicking the Save button at the bottom of the page saves the Connection. Notice that the Public Parameters are still visible in plain text, but the Private Parameters are masked.

Using the Connection

For Custom Ingest and Parse notebooks, attach the Source-direction Custom Connection to your source to reference the connection parameters in your notebook.

For Custom Post-Output notebooks, read an Output-direction Custom Connection by its exact name. The call returns both the public and the decrypted private parameters, and fails if no active Output-direction Custom Connection has that name.

params = session.connection_parameters("My Output Connection")
val params = session.connectionParameters("My Output Connection")