Categories

Versions

Create connections

As an example we like to create a PostgreSQL database connection. The connection should allow users to use their own credentials and database host. For this example we assume you have the connection manager role which is required in order to create connections. Please visit the permissions page for further information on how to manage permissions of connections.

  1. Open Altair AI Studio and create a new connection by right-clicking on the pre-defined Connections folder within your Altair AI Hub Project.
  2. Define your connection: Add a name, select Database as type and the Altair AI Hub repository as location for your connection.

    img/01_create_popup.png

    Optionally fill out additional information like a description and tags.

    img/02_create_advanced.png

    As pointed out above, we like to share this connection with other users on Altair AI Hub. They should be able to use their own credentials and host. For this, we set user, password and host as injected by clicking on the Set injected parameters button in the Basic tab. Be sure to select Altair AI Hub as source for the injected parameter. This will then use your Altair AI Hub.

    img/03_mark_as_injected.png

    After clicking on Save, you'll see that the parameters have been set to injected.

    img/04_injected_ready.png

    As final step to finish the connection creation, go to the Driver tab and select the PostgreSQL driver.

    img/05_configure_driver.png

    After pressing Save again you'll now be able to see the newly created connection within the pre-defined /Connections folder where all connections for all users reside.

    img/06_studio_displays_connection.png

    The connection is nearly ready to be used in a process and visible in the web interface of Altair AI Hub. All that's left is to follow the instructions outlined in the set user-specific parameter values section. You might also want to consider sharing your connection.