--- title: Integrate WatsonX with Label Studio type: guide tier: all order: 15 hide_menu: true hide_frontmatter_title: true meta_title: Integrate WatsonX with Label Studio categories: - Generative AI - Large Language Model - WatsonX image: "/guide/ml_tutorials/watsonx.png" --- # Integrate WatsonX to Label Studio WatsonX offers a suite of machine learning tools, including access to many LLMs, prompt refinement interfaces, and datastores via WatsonX.data. When you integrate WatsonX with Label Studio, you get access to these models and can automatically keep your annotated data up to date in your WatsonX.data tables. To run the integration, you'll need to pull this repo and host it locally or in the cloud. Then, you can link the model to your Label Studio project under the `models` section in the settings. To use the WatsonX.data integration, set up a webhook in settings under `webhooks` by using the following structure for the link: `/data/upload` and set the triggers to `ANNOTATION_CREATED` and `ANNOTATION_UPDATED`. For more on webhooks, see [our documentation](https://labelstud.io/guide/webhooks) See the configuration notes at the bottom for details on how to set up your environment variables to get the system to work. For a video demonstration, see [Integrating Label Studio with IBM WatsonX](https://www.youtube.com/watch?v=9iP2yO4Geqc). ## Before you begin Before you begin, you must install the [Label Studio ML backend](https://github.com/HumanSignal/label-studio-ml-backend?tab=readme-ov-file#quickstart). This tutorial uses the [`watsonx_llm` example](https://github.com/HumanSignal/label-studio-ml-backend/tree/master/label_studio_ml/examples/watsonx_llm). ## Setting up your label_config For this project, we recommend you start with the labeling config as defined below, but you can always edit it or expand it to meet your needs! Crucially, there must be a `