Machine Learning DCM Setup
This page guides you through a step-by-step process to set up the Data Connection Manager (DCM) for the Machine Learning Send and Machine Learning Predict tools in Designer and run them with Server. DCM is the unified secure vault to store Credentials, Data Sources, and Connections. To learn more about DCM, go to the DCM page for a full overview.
System Requirements
Alteryx Designer 24.1+
Alteryx Server 24.1+
Alteryx Machine Learning Designer Integration Tools 24.1+
Download
To use the Machine Learning Send and Machine Learning Predict tools, download the Alteryx Machine Learning Designer Integration Tools. Go to the downloads page, then Alteryx Intelligence Suite > Alteryx Intelligence Suite (your Designer version) > Alteryx Machine Learning Designer Integration Tools. Note that the integration tools are separate from the tools included in Alteryx Intelligence Suite.
Install
Designer
Important
If you’ve previously installed the Machine Learning Integration tools, you should first update to the 2023.2.0 version before you install the 2024.1 version. Even if you’ve already installed Designer 2024.1. Note that you don’t need to uninstall previous versions before installing a new version.
Download the Alteryx Machine Learning Designer Integration Tools YXI file as described in the Download section.
In Designer, select File > Open Workflow > Browse.
Find the Alteryx Machine Learning Designer Integration Tools YXI and then select Open. The tool installer displays.
Follow the prompts to install the tools.
Server
Go to the Install Custom Tools article for details. The basic steps are:
Remote desktop into Server.
Run Designer as Administrator.
Install the Alteryx Machine Learning Designer Integration Tools YXI on all Server nodes.
Data Connection Manager Configuration
Configure User Settings to Enable DCM
Open Designer, then go to Options > User Settings > Edit User Settings.
Select the DCM tab.
Check the Override DCM Settings checkbox.
Configure DCM Settings.
Check the Enable DCM checkbox.
From the DCM Mode dropdown, select DCM as Default.
From the SDK Access Mode dropdown, select Allow or AllowAll.
For Designer 2021.4, only select Allow.
Select Save.
Configure Server System Settings (For Server Administrators Only)
Open Designer, then go to Options > Advanced Options > System Settings.
Select Next until you reach the DCM page.
Configure the DCM settings.
Check the Enable DCM for your Organization checkbox.
From the DCM Mode dropdown, select DCM as Default.
From the SDK (Gallery) Tools support dropdown, select Allow or AllowAll.
For Designer 2021.4, only select Allow.
Check the Allow Override by User checkbox.
Select Next until you reach the Finalize Your Configuration page.
Select Finish to close the window.
Note that this will restart the service.
Connect to Alteryx Machine Learning (OAuth)
For first time setup of the Machine Learning Integration tools, you must add your Alteryx Analytics Cloud (AAC) workspace as a Data Source…
Add a Machine Learning Integration tool to your workflow.
From the tool Configuration window, select Set Up a Connection to open the Data Connection Manager (DCM).
On the Data Sources page, select New.
Enter a Data Source Name that describes your AAC workspace.
Enter the Base URL of your AAC workspace. For example,
https://us1.alteryxcloud.com/
.Enter your AAC Workspace Name.
Select Save.
From the Connections section, select Connect Credential.
Leave
OIDC
as the Authentication Method.From the Credential dropdown, select your authorization credential.
If you don’t have an authorization credential, select Create New Credential.
Enter a Credential Name. For example, the name of your AAC workspace.
Select the Allow connection for SDK checkbox.
Select Link if you’ve used the Credential before, or select Create and Link if you just created it.
Select Connect. Designer directs you to sign in to your AAC workspace.
If you already have a Data Source configured…
Add a Machine Learning Integration tool to your workflow.
From the tool Configuration window, select Set Up a Connection to open the Data Connection Manager (DCM).
On the Data Sources page, select the Data Source you set up previously.
Select Connect. Designer directs you to sign in to your AAC workspace.
Sync Your Credentials Between Designer and Server
Go to File > Manage Connections to open Connection Manager.
Select Synchronize.
For the new Server connection:
Select New.
Enter the Server instance URL and then select Connect.
Enter the Email and Password of your Server account and then select Sign In.
Select the Server instance to sync with.
Select Synchronize on the upper right.
Select Done.
Set Up Your Server Connection
Now that you’ve synced your connection, you need to allow it in Server.
In a browser, go to your company’s instance of Server.
Go to Server > DCM Data Sources page.
Select your data source.
From the Connections section, select the 3-dot menu and then select Edit.
Check the Allow connection for SDK checkbox.
Select Save and Link.
Workflows that use the Machine Learning Send and Machine Learning Predict tools are now ready to run on with Server. To upload or download workflows, follow the Workflows article.