Skip to content

Get started with External Integrations

View as Markdown

Connect your Hugging Face account to a TIR project, so the project can use models and datasets from the Hub with your access token. The integration then appears on Manage External Integrations.

You need:

  1. In TIR, open your project. In the side menu, under PLATFORM SERVICES, select External Integrations.
  2. Select Create Integration.
  3. On Select Integration Type, select Hugging Face.
  4. In Integration Name, keep the suggested name or type your own. Use lowercase letters, digits, and hyphens, start with a letter, end with a letter or digit, and keep it to 30 characters or fewer.
  5. In Hugging Face Token, paste your token. It must be free of spaces.
  6. Select Create.

TIR checks the token with Hugging Face and saves the integration only once Hugging Face accepts it. You are then back on the list with the new integration in it. If Hugging Face refuses the token, a message explains why; to find out what each message means, see Troubleshooting External Integrations.

Pick the integration in the form that asks for it, such as HF Token Integration when you create a model endpoint from a Hugging Face model. See Where integrations are used.

To connect GitHub or Weights & Biases instead, see Create a GitHub integration and Create a Weights & Biases integration.