> For the complete documentation index, see [llms.txt](https://docs.faronics.com/faronicsdeploy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.faronics.com/faronicsdeploy/custom-scripts-powershell-vb-batch/custom-scripts-library/quick-guide-to-self-hosting-custom-scripts.md).

# Quick Guide to Self-Hosting Custom Scripts

## Hosting a Custom Script Using GitHub

Best practice is to self-host your Custom Scripts. To do this, you can use a free repository server such as GitHub, or you could host it on one of your company servers. The following is a guide to hosting a script using GitHub.

1.Create a free account on GitHub <https://github.com/join> (or sign in if you already have a GitHub account).

![](/files/-MWzPdm-GGYlS7gMZg79)

2\. Create a repository (or use an existing one). Click the green NEW button on the top left of the screen.

![](/files/-MWzQI9tq1Q5mUkJ2Tnc)

3\. Create a new script file by clicking c**reating a new file**.

![Creating a New File](/files/-MWzZ4GZyfnDbZTa8p0z)

4\. Name your script (ensure you have the correct file extension **.ps1** for PowerShell, **.vb** for VBScript, or **.bat** for Batch scripts),  enter your script's contents, then **commit new file**.

![Create the Script and Commit the New File](/files/-MWzZ_USe-pSw7anLEHn)

5\. Access the raw version of your script by clicking the **RAW** button.

![Select Raw to View the Raw Version of the Script](/files/-MWzVuGuBsthP1Yxo7rU)

6\. Copy the URL for the raw script that appears and save it in a text file for later; you will need this when configuring your custom script in Faronics Deploy.

![Copy the Raw URL](/files/-MWzX7BSy5_Sz-knLG7X)

{% hint style="success" %}
Your Custom Script is now hosted on GitHub; use the raw URL that you copied in step 6 to configure a Custom Script in Faronics Deploy.
{% endhint %}
