changelog:
Snowflake for Workflows is currently in preview release and is available to selected customers only. If you would like to share feedback or ideas, join the preview by signing up via the Request access to Snowflake Workflow Connector form or contacting your Customer Success Manager.
For more information, see preview releases.
After you join the preview program for Snowflake for Workflows, we'll provide Hub subscription details. With those subscription details, follow the Add Hub subscriptions procedure to you activate the capability.
Preview
Your Dynatrace environment can integrate with a Snowflake instance using Snowflake for Workflows .
With this integration, you can execute statements on your database and load results into Grail.
To install Snowflake for Workflows, you need the app-engine:apps:install
permission.
To improve traceability and auditability, use a dedicated Snowflake service user to access your Snowflake database.
To add connection settings, you need the following permissions:
ALLOW settings:objects:read, settings:objects:write, settings:schemas:read WHERE settings:schemaId = "app:dynatrace.snowflake.connector:connection"
For more information, see Permissions and access.
Connections are shared and can be used by all users with app-settings
read permissions.
If you choose to store results in Grail using the store-statement-result
action, you need to configure the required write permissions for the actor of the workflow. Ensure that it has the storage:buckets:read
and storage:events:write
permissions.
To integrate with a Snowflake database, you need to install Snowflake for Workflows from Dynatrace Hub.
To set up the connection between Snowflake and your Dynatrace environment
*.snowflakecomputing.com
.To authorize a connection to a Snowflake instance, follow the steps below:
The Snowflake for Workflows application supports both authentication methods offered:
Key-Pair JWT — Key-pair authentication (JWT) uses a private key to generate a JWT token, which is then used to authorize access to Snowflake. For more information on the configuration details, see the Key Pair Authentication section of the Snowflake documentation Using key-pair authentication.
External OAuth with the client_credentials
flow — This method uses an OAuth provider configured as an External OAuth Provider in relation to Snowflake.
For more information on a list of supported external OAuth providers, see the official Snowflake documentation
External OAuth overview | Snowflake Documentation.
The only OAuth flow type we support is client_credentials
, as it runs automatically in the background and does not require an interaction from the user (especially multi-factored authentication methods)
The configuration on the Snowflake side and with the OAuth provider, for example, Azure, is the user's responsibility. Dynatrace is not responsible for an incorrect configuration outside of its environment—this applies to both JWT and OAuth methods. Ensure your configuration is valid by testing it using the Snowflake tools such as SnowSQL.
In Dynatrace, go to Settings and select Connections.
Search for Snowflake for Workflows.
Select Connection. The Create new connection dialog opens.
Enter the Connection name. Provide a unique and clearly identifiable connection name.
Enter ** URL**. This is the URL of the Snowflake instance.
Enter the authentication credentials: private key and account settings for JWT or OAuth client_credentials parameters.
Select Create.