# Hugging Face

## Selecting the Connection Type

Once you have [selected your connection type](https://docs.probe.splx.ai/ai-red-teaming/probe/add-target/integration-setup#selecting-a-connection-type), a configuration tab will appear on the next step, prompting you to input the required connection details.

## Integration Setup

<figure><img src="https://1029475228-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi12bk7lo75SODuwcRCQp%2Fuploads%2FK6C6fZnJXl8wMuteDVB5%2F2_huggingFace.png?alt=media&#x26;token=1e92c65b-4884-457d-9db2-fdd18cdd908f" alt=""><figcaption><p>Figure 1: Hugging Face Integration Example</p></figcaption></figure>

* **System Prompt** - Your application’s system prompt. It sets the initial instructions or context for the AI model, defines the behavior, tone, and specific guidelines the AI should follow while interacting. For best practices, refer to the [OpenAI documentation on prompt engineering](https://platform.openai.com/docs/guides/prompt-engineering).
* **Token** - For token-based authentication, your Hugging Face user access tokens can be generated on the Hugging Face platform's [Access Tokens](https://huggingface.co/login?next=%2Fsettings%2Ftokens) tab.
* **Model** - The Hugging Face Hub hosts different models for a variety of machine learning tasks, choose one of the model's available on the [Hugging Face Models](https://huggingface.co/models) page.

For more information, you can explore the official [Hugging Face](https://huggingface.co/docs/hub/en/index) documentation.
