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 multi-tenant integration with Alteryx Designer

c-lopez
Alteryx
Alteryx

Alteryx ML multi-tenant integration with Alteryx Designer

So, you’ve recently been given access to Alteryx Machine Learning and would like to integrate with the rest of the Alteryx products like Alteryx Designer and Server.

First you’ll want to make sure that you have Alteryx Intelligence Suite installed or unlocked on your Alteryx Designer, you can find how to unlock Intelligence Suite here. If you have access to Alteryx Machine Learning you should also have an intelligence suite license assigned, your license administrator or account team should be able to provide you one if you don’t already have one.

The next steps, once you have intelligence suite is to install the integration tools for Alteryx Machine Learning.

Installing the integration tools

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

clopez_0-1679966598462.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-1679966598591.png

 

The integration tools come in a YXI file

clopez_2-1679966598716.png

 

Install the Integration Tools

The easiest way to run the installer is to open Alteryx Designer > File > Open Workflow > Browse > Find the installer and select Open. The installer will run and should be done in just a few seconds.

clopez_3-1679966598768.png

 

Once the installer runs, we recommend closing Designer and reopening it just to be on the safe side, but once it is open you will find two new tools in designer
1. Machine Learning Send

clopez_4-1679966598870.png

 

With this new tool you will be able to create new Alteryx ML projects or push new data to existing projects

  1. Machine Learning Predict

clopez_5-1679966598981.png

 

With this tool you will be able to select an existing, completed project from Alteryx ML and use it to score new data. This tool can be used in both Designer and Server.

 

Connecting to Alteryx ML

You will notice that when you try to use either of the new tools that it will ask you for an SSO or Token connection, the tool is dynamic depending on your URL.

1. If your URL has the following pattern http://automl.[company  name].alteryxcloud.com then you will need to use SSO to complete the integration.

  1. However, if your URL has the following pattern https://us1.alteryxcloud.com/cloud-portal/?workspace=[company name] then you will use an authorization token to complete the integration.

Getting an authorization token

Access your personal account settings to create a token. From anywhere in the UI click on the upper right side where your initials are and click on your name then select “Access Tokens”

clopez_6-1679966599056.png

 

 

Generate a new token for yourself and enter a description

clopez_7-1679966599207.png

 

clopez_8-1679966599327.png

 

Once you click Generate you will see a long string of numbers and characters, this is your token guard it and keep it safe as you would a very sensitive password, it will enable you to interact with Alteryx ML programmatically. It is also important to note that this will be displayed to you exactly once, after that initial retrieval it will never be displayed in the platform again.

clopez_9-1679966599518.png

 

 

DCM Set Up

The first step to a successful integration is to ensure that DCM is properly set up and enabled, if you do not have DCM enabled yet, follow this quick guide, Alteryx has made it simple to do.

 

Next, open your connections manager to add a new data source and connection

clopez_10-1679966599566.png

 

 

Under Data Sources, add a new source

clopez_11-1679966599598.png

 

 

The technology you will be using to set up the integration is “Trifacta Auth”

clopez_12-1679966599633.png

 

 

Note: If you do not see Trifacta Auth, ensure you have the latest version of the integration tools installed and restart Designer

 

Give your integration a name that is representative of what we are trying to achieve and save it

clopez_13-1679966599670.png

 

 

Next, click into the data source to edit it and click “Connect Credential”

 

clopez_14-1679966599704.png

 

 

Then follow these steps

  1. Select Access Token as Authorization Method
  2. Under Trifacta Auth Credential select “Create New Credential”
  3. Give your credential a name that let’s others know what you’re doing
  4. Paste the Access Token you obtained from the platform portal
  5. Create and Link

clopez_15-1679966599735.png

 

 

That is it, you’re done!

To test out the integration bring in a small dataset into the canvas and use the integration tools to create a new project and send data to it

Under the URL enter this address exactly: https://us1.alteryxcloud.com/automl

clopez_16-1679966599782.png

 

 

Once you click Sign In DCM will pop up, click on the connection we set up earlier

 

clopez_17-1679966599827.png

 

Finally run your workflow and verify that the new project and data have landed on the ML platform

clopez_18-1679966599873.png

 

 

 

clopez_19-1679966599908.png

 

For the Machine Learning Score tool you will follow the same steps as shown above, but you do not need to create a new connection for it, just log in using the same token!


 

 

0 REPLIES 0