Categories

Versions

You are viewing the RapidMiner Hub documentation for version 10.3 - Check here for latest version

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 RapidMiner Studio and create a new connection by right-clicking on the pre-defined Connections folder within your RapidMiner AI Hub Project.
  2. Define your connection: Add a name, select Database as type and the RapidMiner 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 RapidMiner 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 RapidMiner AI Hub as source for the injected parameter. This will then use your RapidMiner 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 RapidMiner AI Hub. RapidMiner execution now needs to know what values should be used for the parameters you've just set as injected. In order to do so, please follow the instructions outlined in the set user-specific parameter values section. You might also want to consider sharing your connection.