> ## Documentation Index
> Fetch the complete documentation index at: https://docs.inferless.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Automatic Build on Inferless

With Inferless, you can automatically build your model from various sources like Github, Hugging Face, Docker, AWS S3 where you don't worry about pushing newer version of your model. Inferless will automatically build the model for you.

There are 2 wasy to set up automatic builds on Inferless:

1. **Automatic Build from Git Based Deployments**

If you are using Github/Gitlab integration with Inferless, you can set up automatic builds by specifying the 'branch' checking the automatic build checkbox.

2 **Automatic Build from via Webhooks**

If you are using Hugging Face, Docker, AWS S3, GCP or any other source, you can set up automatic builds by setting up webhooks.

### Example of Automatic Build from Hugging Face

#### Step 1: Find the webhook URL for the model

### Steps to enable Webhook in Hugging Face /Docker/S3

Below are the steps that are to be followed to enable a Webhook:

* Log into your Hugging Face account which contains the model that you wish to load.

* Go to `Settings` -> `Webhooks.`

* Click `"add a new Webhook".`

* Choose the `target repository`, which is your model.

* Add the `API URL`, which can be copied from your model Page
  1. In case you are doing this during onboarding, the API URL would be displayed during the model import
  2. View the screenshot below:

<img src="https://mintcdn.com/inferless-68/yfvi5Br0pyuIRFZe/images/ab-hf.png?fit=max&auto=format&n=yfvi5Br0pyuIRFZe&q=85&s=a7adae23697080934117e8f7a78c5f62" alt="" width="2728" height="1446" data-path="images/ab-hf.png" />

In the review page you can see the url to be used for the webhook

<img src="https://mintcdn.com/inferless-68/yfvi5Br0pyuIRFZe/images/ab-hf-2.png?fit=max&auto=format&n=yfvi5Br0pyuIRFZe&q=85&s=d3266f36e014edf5aac78dd85674bd79" alt="" width="2334" height="1376" data-path="images/ab-hf-2.png" />

* In case you are doing this post-model import, you can view this under `Model page -> Versions`

<img src="https://mintcdn.com/inferless-68/yfvi5Br0pyuIRFZe/images/ab-hf-3.png?fit=max&auto=format&n=yfvi5Br0pyuIRFZe&q=85&s=3fa2b38bb75c54252d203e968428c2b3" alt="" width="2732" height="1442" data-path="images/ab-hf-3.png" />

* Enable the`Repo Update`option under `triggers`. Click "Create Webhook" to complete the process.

* View the screenshot below for a sample completed "New Webhook" Page.

<img src="https://mintcdn.com/inferless-68/QJ9zE2jx7w8an0q6/images/hugging-face3.png?fit=max&auto=format&n=QJ9zE2jx7w8an0q6&q=85&s=27459339e4c57cafa478f38dcb545c0d" alt="" width="3112" height="1598" data-path="images/hugging-face3.png" />
