Create a Data Source
Open the Data Source wizard
Configure the connection
Select the credential type
Enter and test the credentials
Set access and finish
Authentication methods
Data Sources support multiple authentication methods to meet different security requirements. Which methods are available depends on the Data Source type, and you choose which of them your organization can use. Enable OAuth or IAM for more secure connections than credentials, enable several methods at once when different teams need different ones, and require certificate authentication where enterprise security standards demand it. Enabling a method takes one configuration record, and requires the SysAdmin role.Open the configuration records
Add the authentication configuration
certauth,basic,oauth for PostgreSQL with certificate support, or basic for IBM DB2 with basic authentication only.Click Create.Complete any additional setup
IAM authentication for AWS Data Sources
You can enable users to create Data Sources that authenticate with AWS Identity and Access Management (IAM) for these Data Source types:- Configure single sign-on (SSO).
- Configure AWS credential propagation.
- Add IAM to the available authentication options for one or more of the supported Data Source types. In the Admin application, go to Platform settings > Configuration records and click Add Record.
-
Enter one of the following keys with the value
AWSIAMRoleorBasic, AWSIAMRole:-
com.cerebro.domino.datasource.MySQLConfig.enabledAuthTypes -
com.cerebro.domino.datasource.PostgreSQLConfig.enabledAuthTypes -
com.cerebro.domino.datasource.RedshiftConfig.enabledAuthTypes -
com.cerebro.domino.datasource.S3Config.enabledAuthTypes
-
- Click Create.
OAuth for Snowflake
OAuth-backed Snowflake Data Sources authenticate and query Snowflake with a JSON Web Token (JWT). Once it is set up, users can select OAuth when they create a Snowflake Data Source. When an OAuth-configured Snowflake Data Source is queried in a Domino execution, thedominodatalab-data library uses the Domino JWT token to authenticate against the underlying Snowflake database. No extra user action is needed.
Setup has two halves. First, an External OAuth Security Integration in your Snowflake account dictates what values Snowflake expects the token to carry. Second, Keycloak mappers propagate those values into the Domino JWT access token.
dominodatalab-data library to query data from an OAuth Data Source in a Domino execution, such as a Workspace.Configure the Snowflake security integration
To set up an External OAuth Security Integration in Snowflake, see the Snowflake external OAuth documentation. Get familiar with the Snowflake terminology and the values that Snowflake needs in the token; correct spelling of the values is critical. The following is a sample command to create a base security integration that allows all account roles to authenticate. Use it as a starting point for a configuration that fits your security needs.-
external_oauth_issuerin Keycloak’s Realm Settings > OpenID Endpoint Configuration > Issuer -
external_oauth_rsa_public_keyin Keycloak’s Realm Settings > Keys > Public Key from RS256
desc security integration <external_oauth_name>) should look similar to the following:

Configure Keycloak
Keycloak passes the values that the Snowflake security integration expects by way of mappers in thedomino-play client. Each mapper is set to add to access token, which creates a key-value entry in the Domino JWT token keyed on Token Claim Name.
The value depends on the mapper type. A hardcoded-claim mapper takes a value that propagates equally to all users. A user-attribute mapper takes a User Attribute name, reads that attribute from each Keycloak user, and propagates its value, so you can vary the token per user.
Open the Keycloak client scopes
https://<domino-domain>/auth/, then click Domino Realm > Clients.


Add the mappers


scp claim, use the prepopulated Scope Claim Aggregator mapper. You can write your mappers differently, as long as they conform to the requirements of the Snowflake security integration.Keycloak propagates the values the mappers produce into the JWT token that authenticates against the External OAuth Security Integration you created in Snowflake.Add the user attributes
<user ID> > Attributes. You can automate this to create further roles and mappers.
Enable OAuth for Snowflake in Domino
com.cerebro.domino.datasource.SnowflakeConfig.enabledAuthTypes key with the comma-separated values OAuth and KeyPair. Order matters: the first value becomes the default authentication method for all users. Click Create.Keycloak mapper reference
SCP
SCP

Issuer
Issuer

Audience
Audience

User mapping
User mapping

Preferred username
Preferred username
external_oauth_token_user_mapping_claim='preferred_username_snowflake' and so instructs Snowflake to read the value of the preferred_username_snowflake key.
RSA public key value
RSA public key value

Snowflake user mapping attribute
Snowflake user mapping attribute

Test the OAuth configuration
The user attributesSCP, external_oauth_audience_list, and preferred_username_snowflake must be present in the Domino user JWT token. There are two ways to inject them:
- Locally in Keycloak, for quick testing. Add the user attributes manually under the Keycloak user.
-
Through SAML attributes, for enterprise-level implementations. Passing the user attributes from the identity provider as SAML attributes is the recommended approach. When SAML attributes include the user attributes, additional mappers extract them and make them available to the
domino-playclient.
- Go to Domino realm > Identity providers > Identity provider > Mappers.
-
For Mapper type, select
Attribute importer. -
In Attribute Name and User Attribute Name, add the user attributes to pass to the
domino-playclient, for exampleSCP,external_oauth_audience_list, andpreferred_username_snowflake.

OAuth as the authentication type, open an execution, and query data from the registered Data Source.
Starburst-powered Data Sources
Starburst-powered Data Sources cover MongoDB, Palantir Foundry, tabular S3 with AWS Glue, Starburst JDBC, and Teradata. Only an admin can create them, because each one needs a restart of the Starburst cluster in Domino. For additional support in working with Starburst, contact your Domino representative.Enable Starburst
To enable Starburst-powered Data Sources in your Domino instance, add the following block todomino.yaml and agent.yaml.
Create a Starburst-powered Data Source
Every type starts at Manage Resources > Data Sources > Connect to External Data and ends with a cluster restart. Expand the type you are configuring for the fields it asks for.MongoDB
MongoDB
- Starburst is enabled in the deployment. See Enable Starburst.
- Network connectivity between MongoDB and your Domino deployment.
- Domino has enabled this feature. If you do not see this Data Source type in your deployment, contact your Customer Success Manager.
- Go to Manage Resources > Data Sources.
- Click Connect to External Data.
- In the New Data Source window, select MongoDB.
- Enter your MongoDB hostname or IP address.
- Optional: Enter the Port.
- Enter a Name and Description for this Data Source.
- Click Next twice.
- Enter your MongoDB credentials.
- Click Next.
- Select whether Everyone can access this Data Source or just Specific users or organizations.
- Click Finish Setup. Domino alerts you to restart the cluster.
- Click Click here to trigger a restart, then click Restart Cluster to confirm. The restart takes approximately 5 to 10 minutes. When it completes, Domino users can use the MongoDB Data Source.
Palantir Foundry
Palantir Foundry
- Starburst is enabled in the deployment. See Enable Starburst.
- Network connectivity between Palantir and your Domino deployment.
- Domino has enabled this feature. If you do not see this Data Source type in your deployment, contact your Customer Success Manager.
- Go to Manage Resources > Data Sources.
- Click Connect to External Data.
- In the New Data Source window, select Palantir.
- Enter a Name, Description, and the Palantir hostname or IP address. Optionally, enter the Port.
- Select Individual or Service Account as the credential type.
-
Select Client Credentials or OAuth Token for authenticating to Palantir.
Individual credentials can only use OAuth Tokens to authenticate.
- Enter your Palantir credentials.
- Select whether Everyone can access this Data Source or just Specific users or organizations.
- Domino alerts you to restart the cluster. Click Click here to trigger a restart > Restart Cluster. The restart takes approximately 5 to 10 minutes. When it completes, Domino users can use the Palantir Data Source.
- Go to your Palantir instance.
- Go to Control Panel > Third-party applications. An existing Domino integration appears here.
- Next to the Domino integration, select Actions > Manage application to find your client ID.
Tabular S3 with AWS Glue
Tabular S3 with AWS Glue
- Starburst is enabled in the deployment. See Enable Starburst.
- Network connectivity between S3 and your Domino deployment.
- Domino has enabled this feature. If you do not see this Data Source type in your deployment, contact your Customer Success Manager.
- Go to Manage Resources > Data Sources.
- Click Connect to External Data.
- In the New Data Source window, select Tabular S3 with AWS Glue.
- Enter your S3 account ID, database, and region.
- Enter a name for this Data Source.
- Click Next. In the Credential Type screen, Service Account is preselected. Individual accounts are not supported for this Data Source type.
- Click Next.
- Enter your S3 service account access key ID and secret access key.
- Click Next.
- Select whether Everyone can access this Data Source or just Specific users or organizations.
- Click Finish Setup. Domino alerts you to restart the cluster.
- Click Click here to trigger a restart, then click Restart Cluster to confirm. The restart takes approximately 5 to 10 minutes.
Starburst JDBC
Starburst JDBC
- Starburst is enabled in the deployment. See Enable Starburst.
- Network connectivity between the data platform and your Domino deployment.
- Go to Manage Resources > Data Sources.
- Click Connect to External Data.
- Select the data entity you want to connect to under Powered by Starburst JDBC.
- Enter the connection parameters.
- Enter the Data Source Name and, optionally, a Description that explains the purpose of the Data Source to others.
- Select the credential type.
- Optionally, enter your credentials. You can enter these later.
- Click Next.
- Select whether Everyone can access this Data Source or just Specific users or organizations.
- Click Finish Setup. Domino alerts you to restart the cluster and provides a link to trigger it.
Teradata
Teradata
- Starburst is enabled in the deployment. See Enable Starburst.
- Network connectivity between Teradata and your Domino deployment.
- Domino has enabled this feature. If you do not see this Data Source type in your deployment, contact your Customer Success Manager.
- Go to Manage Resources > Data Sources.
- Click Connect to External Data.
- In the New Data Source window, select Teradata.
- Enter your Teradata hostname or IP address.
- Enter a name for this Data Source.
- Click Next.
- Select the credential type.
- Optionally, enter your Teradata credentials. You can enter these later.
- Click Next.
- Select whether Everyone can access this Data Source or just Specific users or organizations.
- Click Finish Setup. Domino alerts you to restart the cluster.
- Click Click here to trigger a restart, then click Restart Cluster to confirm. The restart takes approximately 5 to 10 minutes.
td_demo is the database name and yellow_cab is the table name:Add Starburst JDBC data entities
Not every JDBC-powered data entity is available by default. You can enable ClickHouse, Druid, Greenplum, MariaDB, Ignite, SingleStore (MemSQL), Synapse, Vertica, and the generic JDBC capability that Starburst provides.- Go to Admin > Platform settings > Configuration records.
-
Add or edit the
com.cerebro.domino.datasource.starburstJdbc.enabledConnectorsconfig option. -
Add a comma-separated list of data-entity names as the value:
- Restart the Domino services to apply the new setting, following the prompt on the admin page.
Restart the Starburst cluster
Restart the Starburst cluster in Domino after actions including, but not limited to:- Creating a Data Source
- Updating a Data Source configuration
- Updating credentials

Starburst limitations
- Your Domino representative must enable this feature. If you do not see these Data Source types in your deployment, contact your Customer Success engineer.
- In a hybrid deployment, Starburst-powered Data Sources are only available from the local Data Plane.
Data Plane accessibility
Data Planes in a Domino Nexus hybrid deployment have caveats around which of them can reach a Data Source.EnableAddingDataSourcesInRemoteWorkspaces feature flag to false.
Related
- External Data Volumes mount remote file systems into executions instead of querying them.
- Data Source connectors covers what practitioners do with a Data Source once you create it.
- Monitor Data Source logs audits Data Source activity.
- Domino Datasets are where practitioners land data pulled from a Data Source.