Azure ML integration guide#
You can integrate Neptune with Azure DevOps and Azure Machine Learning services.
On this page, we show how to prepare for using the example in our neptune-ai/examples repo.
Before you start#
- Sign up at neptune.ai/register.
- Create a project for storing your metadata.
Setting Neptune credentials#
To ensure that the example is logged to your own workspace, you can supply your own Neptune API token and project name.
You can also run the example with the public credentials, but this data is cleaned from Neptune periodically, so the example won't persist.
API token#
The value for the NEPTUNE_API_TOKEN
variable is the API token associated with your Neptune account.
- In the bottom-left corner of the app, expand your user menu.
-
Select Get Your API token.
If using service accounts
You can also pass the API token of a service account.
- In the top-left corner, expand the workspace menu (accessible to admins).
- Select Service accounts.
- Copy the token of the account you want to use.
Project name#
In the example .py
scripts, you can set your own project name to the NEPTUNE_PROJECT
variable.
Your project path consists of the workspace name and project name: workspace-name/project-name
.
To copy the path in the Neptune web app:
- Open the project settings ( ).
-
Select Details & privacy.
-
Find the copy button () next to the project name.
Other configuration#
In the example, we're also using a custom run ID (NEPTUNE_CUSTOM_RUN_ID
) to ensure that metadata from different parts of the pipeline are logged to the same run.
Read about custom IDs:
The rest of the example is in the neptune-ai/examples repo, where we host a folder with a sample CI/CD pipeline.