# Set Up an Automl Solution

To set up an AutoML solution, you can create AutoML workflows via TD Console. For the base package, you need to run two workflows: one configured with the *ml_train >* operator and the other with the *ml_predict >* operator. For a custom solution package, you need to create a single workflow configured with the *ipynb >* operator. The overall AutoML setup process is as shown in the following sections:

* [Create an AutoML workflow](/products/customer-data-platform/machine-learning/automl/configure-an-automl-solution/set-up-an-automl-solution#create-an-automl-workflow)
* [Configure a Secret for an AutoML Workflow](/products/customer-data-platform/machine-learning/automl/configure-an-automl-solution/set-up-an-automl-solution#configure-a-secret-for-an-automl-workflow)
* [Configure AutoML Notebook Parameters](/products/customer-data-platform/machine-learning/automl/configure-an-automl-solution/set-up-an-automl-solution#configure-automl-notebook-parameters)


### Create an AutoML workflow

1. Open the **TD Console**.
2. Navigate to **Data Workbench > Workflows**.
3. Select **New User-Defined Workflow**.
![](/assets/image2023-2-28_9-42-57.f7a47c854cc9798d8aa386976ad6479d43c015b5c378fc6d2a908affa5d33418.3cb60505.png)
4. Select or Enter a **Project Name**.
5. Enter a Workflow Name.
6. Select a ML notebook solution in the Workflow Template. For example, Gluon Train, Gluon Predict, or a custom solution operator.
![](/assets/image2023-2-28_9-46-56.0eb2a1ed153a1121e047e91f1be0ab85a2f1f686b658ef3948aac50e4c6fc5b8.3cb60505.png)
7. Select New Workflow.
![](/assets/image2023-2-28_9-49-27.c5d1b793b7f5efcaf1eb27d6c500eb1359fccfaf8eedc58ef3376f0e3c176488.3cb60505.png)
8. View preview.
The workflow parameters can be edited through the console in the subsequent steps, without editing the workflow code directly.
![](/assets/image2023-2-28_9-50-27.7eca5b068247481bbe44148c9d03d8c4c0d3c16253bf84d7ce566f917233681e.3cb60505.png)
9. Select **Save & Commit**.


### Configure a Secret for an AutoML Workflow

To prepare the AutoML workflow, it is necessary to provide a Master Key as a secret. This is required to enable the AutoML container to access relevant databases. You can set and edit secrets or parameters for an AutoML Workflow from the console, like a typical TD workflow.

1. Select the **Secrets** tab within the workflow:
![](/assets/image2023-2-28_9-52-38.69eaef6a430b125aba5d03cc2b98c45894e2c81abf3eeefa8de7283ea1b36698.3cb60505.png)
2. Select the PLUS sign (+) to add a new secret.
![](/assets/image2023-2-28_9-54-48.7dd34028fd5373e1218aa7e3157f6eaa63c9f07cff73b2ce37505bc720fdc966.3cb60505.png)
3. In the **Name** field, enter exactly this text: td.apikey
4. In the **Secret Key** field, paste in the Master key. (User API Keys can be found in the “API Keys” section of your user profile.)
5. Select **Create.** The key will now be available in the list of secrets.
![](/assets/image2023-2-28_9-56-34.129a3a0566476b7875490fdee324c1e9b9e44711edf81116d147a5891f63d469.3cb60505.png)


For general details about configuring workflow secrets, see [Setting Workflow Secrets from TD Console](/products/customer-data-platform/data-workbench/workflows/setting-workflow-secrets-from-td-console) and [Setting Workflow Secrets from the Command Line](/products/customer-data-platform/data-workbench/workflows/setting-workflow-secrets-from-the-command-line).

### Configure AutoML Notebook Parameters

1. Select the AutoML tab and select the notebook listed under Notebook Parameters.
![](/assets/image2023-2-28_9-58-40.b3e4641740b036961cb4ac868493d3927601ab1f90034afd903735d9d5e988a6.3cb60505.png)
2. The notebook parameters editor appears.
![](/assets/image2023-2-28_10-2-50.1db6a43b567c7382e559be5242f9807ba6a58b5d21958e7860ccd8aea9fc7796.3cb60505.png)
3. The Input Table can be selected from existing database tables within your Treasure Data environment.
![](/assets/image2023-2-28_10-10-48.f9ee85175c3e260d00c609f8c7905dcce3834a852f9252f20fcfba56c5a0cd62.3cb60505.png)
4. It is important to specify which columns should be ignored, for example any unique identifiers or timestamps.
![](/assets/image2023-2-28_10-12-19.aefc4bbac6102bebb27d5ccde492aafcacb069fa8eaf7346ecbffdb6896a5504.3cb60505.png)
5. To share your model, select the **Share Model** checkbox as shown. See the section AutoML Model Sharing.
![](/assets/image2023-2-28_10-14-52.d6f228dd8615ecb6404082f1cb8d03d2aab46c56173188c1b22a493195971758.3cb60505.png)
6. Select **Confirm** to save the parameter changes.