# Setting up Roblox Hub

### Download the hub file

{% file src="/files/yNWw9XSFI2OpUGFutOTJ" %}

### Open the file and publish it to studio

<figure><img src="/files/nWvYBnDS1K47y6GHDCM5" alt=""><figcaption></figcaption></figure>

### Enable HTTP service and API services

Once you have published go to game settings and enable HTTP services and API services like shown below in the screenshot.

<figure><img src="/files/p9O2kANbB41ojWxFSvbL" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/ulPieslRTE2dsOlDAVCg" alt=""><figcaption></figcaption></figure>

### Go to the configuration file in ServerScriptService

<figure><img src="/files/E3iNiHyVBOm1yVPmcEDA" alt=""><figcaption></figcaption></figure>

### Before you edit anything inside, get your hub API key

You can get your API key by going to your Vault dashboard and to the API page

<figure><img src="/files/MYbm9Xvj8AoD2KzStb4w" alt=""><figcaption></figcaption></figure>

Your API page will look something like this

<figure><img src="/files/5KhauBOtscbUQeJreu0m" alt=""><figcaption></figcaption></figure>

You only need the Hub Key

<figure><img src="/files/1NTNXGPl4ShjSzA6ewYr" alt=""><figcaption></figcaption></figure>

Click on the copy button next to the reset button and it will automatically copy it your clipboard

<figure><img src="/files/J4VMVbqBkNMp5dSyQMg1" alt=""><figcaption></figcaption></figure>

### Go back to roblox studio and paste (Ctrl-V on keyboard) into the API field

It should look something like the screenshot below

<figure><img src="/files/B60ji1qiueEpmpLgTksj" alt=""><figcaption></figcaption></figure>

### You are all done!

To confirm everything works join the game in roblox client, not roblox studio as nothing will work if you run the game in studio.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vaultroblox.com/platform/setting-up-roblox-hub.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
