Integrations and automation
Connect an AI provider, webhooks and Git, and schedule drift checks, retraining and batch jobs.
Integrations connect a workspace to other services: an AI provider for the advisor, outgoing webhooks for your own systems, and a Git repository that receives records of your runs. Automation runs recurring work for you: drift checks, scoring and data refreshes.
Both live in Settings. Open Settings in the workspace sidebar, then Integrations or Automation. Admins can create and change everything on these pages. Other members can read them.
Integrations
The Integrations section starts with an overview of what is connected, followed by three areas: LLM provider, Webhooks and Git repositories. Each can also be opened directly from the overview.
AI provider
The AI provider powers the AI advisor. The advisor only suggests: you approve every change before anything runs.
Choose the provider and model
Under LLM provider settings, pick the Provider and enter the Model name. Two providers are available today: Anthropic (Claude) and OpenAI (GPT). Other providers are listed with the note "coming later" and cannot be selected.
Add the API key
Enter your API key and select Save changes. The key is encrypted before it is stored and is never shown again. The page then shows "API key on file" with the provider, the model and the save date.
Test the connection
Select Test connection. The page reports "connected" with the time it took, or the reason it failed.
To change the key, select Rotate key. To remove the provider, select Clear: the key and the provider settings are deleted, and AI features stop working until you save a new key. Without a key on file the page shows No API key on file.
The optional Base URL (under Custom base URL) points mlflow at a compatible endpoint, for example a proxy. Changing it requires entering the key again. Only public https addresses are accepted unless the server operator has allowed private addresses.
Webhooks
A webhook sends an HTTP POST to your URL when something happens in the workspace, so you can post to a chat channel, open a ticket or start a job in your own system.
Create a webhook
Under Webhooks, fill in New webhook: the Target URL, an optional Shared secret (at least 8 characters) and the Event types you want, then select Create webhook.
Test it
In the list under Subscriptions, select Test to send a sample event. The row shows the HTTP status of the last delivery and when it was Last fired.
Available events:
| Event | Sent when |
|---|---|
run.succeeded, run.failed, run.cancelled | A run ends. |
deployment.created, deployment.deleted | A deployment is created or deleted. |
deployment.rollback | A deployment is pointed at another version. |
drift.alert | A drift alert fires. |
retrain.decision | A guarded retraining finishes with a decision. |
schedule.failed | A scheduled job fails. |
The body is JSON with the event name, a delivery ID, the time and a data object. If you set a secret, each request carries an HMAC-SHA256 signature of the body, so your service can check that the call came from mlflow. The list marks the webhook as signed and stores the secret encrypted. Delivery is best effort: mlflow waits a few seconds for an answer and does not retry, and a failure never blocks the action that caused it. Check the Last fired column for the last status. For the exact headers and a verification example, see Webhooks.
Git
Linking a Git repository lets mlflow publish records of a project's experiments, trials and runs to it as YAML files. Only artifact locations are written, never the model files themselves.
Link the repository
Under Git repositories, select Link repository. Choose the Provider, enter the Clone URL and the Default branch, and optionally a Path prefix inside the repository.
Choose a project and a credential
Select the Project whose records you want to publish. For a private repository, choose a PAT secret: a personal access token that you stored beforehand under Connections & secrets. Leave it empty for a public repository.
Publish
Select Publish to write the current records now. Turn on Auto-publish on every Run completion to publish whenever a run in that project finishes. The row shows when it last pushed, with the commit, or the last error.
A repository that is not linked to a project cannot be published from the page; the row says "needs a project link". Select Unlink to remove the link.
Automation
Select Automation to open Schedules. A schedule runs a job on a fixed interval. The list Active schedules shows the Kind, Target, Schedule, Last run (with ok or error), an Enabled switch and the actions Run now and Delete.
Create a schedule
Under New schedule, choose the Kind, pick its target, set the Interval (s) in seconds (30 or more) and select Create schedule. The interval can be as short as 30 seconds. The API also accepts a cron expression, which is evaluated in UTC.
Use Run now to try a schedule without waiting for the next interval.
Schedule kinds
| Kind | What it does | Target |
|---|---|---|
| Alert rule check | Evaluates every drift alert rule in the workspace. Fired rules deliver to the channels you set. | The workspace |
| Batch predict | Runs a deployment over rows from a data source you choose as Input data source and writes the predictions to storage as a CSV file. | A deployment |
| Refresh dataset | Reads a data source again and records a new version. | A data source |
| Retrain | Runs an experiment again with a default comparison plan. | An experiment |
| Drift monitor (legacy) | Takes a drift snapshot of a deployment. Prefer alert rules. | A deployment |
Guarded retraining is set up on the deployment
To retrain a deployed model and promote the result only when it is better, use guarded retraining on the deployment's Monitor tab. See Retraining. It is also stored as a schedule, but you configure it there, not from this form.
A failed schedule shows error in Last run and can send a schedule.failed webhook event. Scheduled work runs inside the server, so a schedule only fires while the server is running.
To score an uploaded file instead of a data source, use Batch predictions.
Next steps
Learn the theory
Lessons on learning.mlflow.es that explain the ideas behind this page.
Updated 2026-11-22