Start your journey with Alteryx Machine Learning - Take our Interactive Lesson today!

Alteryx Machine Learning Discussions

Find answers, ask questions, and share expertise about Alteryx Machine Learning.
Getting Started

Start your learning journey with Alteryx Machine Learning Interactive Lessons

Go to Lessons

Alteryx ML Configuration Guide for Server Admins

c-lopez
Alteryx
Alteryx

Alteryx ML Configuration for Server

Even if you are are an administrator who is actively works on Alteryx ML and your own workflows you may not be aware of how "exactly" to set up Alteryx ML integrations to be used by other users in your organization to use ad-hoc with server or to schedule workflows to pull data from a source, make predictions, and store results with a given cadence. This post is meant to be a visual walkthrough on how to make the Alteryx ML-Server integration work seamlessly. The audience for this post is Alteryx Server administrators only, a separate guide for end users can be found here.

Installing the integration tools

Logon to the Alteryx License Portal, you will find the tools under Intelligence Suite downloads.

clopez_0-1679965795240.png

 

For version you will want to make sure that your Designer, Intelligence Suite, and ML integration tools all have the same version.

Note: The earliest supported version for the ML tools is 2021.3.

In this example we are using the latest version 2022.3

clopez_1-1679965795417.png

 

The integration tools come in a YXI file

clopez_2-1679965795562.png

 

Install the Integration Tools

Once you log on to the machine where Server is installed, find the Designer which comes included and run it as an administrator, we will be installing the application for all users

In Designer navigate to File > Open Workflow > Look for the file “.yxi” you just downloaded and open it

clopez_3-1679965795679.png


Then select “Install for all users”

 

clopez_4-1679965795773.png

 

The installation process should only take a few seconds, once it is done restart Designer and ensure the integrations are working, follow the validation steps in this blog post.

Alteryx Server System Settings

Open your Alteryx Server “System Settings” to make a couple of modifications:

  1. Enable DCM:
    1. Authorization for workflows to programmatically interact with Alteryx ML will be handled via DCM and shared connections in Server, thus this setting should be set to at least DCM Optional and not Disabled.
  2. Allow all SDK Gallery tools support:
    1. The ML integration tools use the Python SDK so we must allow these tools to function when a workflow is scheduled.

clopez_5-1679965795861.png

 

 

You can leave the other settings in your configuration as you prefer but these two settings must be changed for the integrations to work.

Once you make the required changes finish your set up steps and allow Server to restart.

 

Authentication and Sharing Credentials

To create an authorization token and bringing it into Designer follow the authorization steps in this blog.

The rest of this post assumes you have a “Data Source” and “Credentials” to AML configured and operational.

clopez_6-1679965795931.png

 

 

clopez_7-1679965796018.png

 

Once you’ve verified that your credentials are working properly, you can sync them to server to be shared with end users or have each user create their own credentials

Share Credentials

If your organization prefers to have one credential to be used when a workflow using the integration tools is scheduled then you may synchronize

Click on File > Manage Credentials > Synchronize > Choose the server you want to sync with

clopez_8-1679965796112.png

 

Finally select synchronize and finish

clopez_9-1679965796169.png

 

Finalize and validate

To ensure that the integration has been set up properly choose one of the workflows you have which include the Machine Learning Predict tool, authenticate, and run the workflow

clopez_10-1679965796285.png

 

Next, save your workflow to the Server and ensure it is validated and stored successfully

 

clopez_11-1679965796431.png

 

Once you’re in Gallery, run the workflow to ensure it is working properly and you are done!

Congratulations!

In order to allow others to run the workflow you will have to also share the credential we synchronized earlier to the server, you may refer to the DCM documentation to share connections.

 

0 REPLIES 0