# Game Template

Once you have defined your application and created your application build from the previous step, you can now create your templates. Follow the instructions below.

## Game template overview

A Game template is used by a fleet and defines which game application builds will be deployed for that Fleet. You can create as many Game templates as you like on the platform. However, a Fleet can only point to one Game template at a time. A Game template can be shared across multiple fleets though.

## Create your game template

When you create a game deployment template, it will indicate which game server application builds you would like to have deployed within a fleet.

1. Go to **Game Hosting > Templates**.
2. Select the **Game** tab.
3. Click **Create template**.
4. On the **Create Game Template** window, enter the **Game Template Name**.
5. Select your **Application Build**.
6. Click **Create**.

## Utility template overview

The UtilityDeploymentTemplate indicates which utility / utilities you want to deploy onto each host (Bare metal or Virtual machine). A utility, also known as a sidecar, is always deployed once per host. You can indicate whether a utility should be deployed only on Bare metal servers or Virtual machines, or both.

{% hint style="info" %}
Utilities / sidecars must be regular applications that run in the foreground. It is generally not a good idea to start utilities as a service.
{% endhint %}

## Create your utility template

1. Go to **Hosting > Templates**.
2. Select the **Utility** tab.
3. Click **Create template**.
4. Enter your **Template name**.
5. Select your **Application Build** from the drop down list.
6. Select what machines you want to **Deploy on** from the drop down list.
7. Click **Create**.

## Dependency template overview

The Dependency template enables you to point to scripts (ApplicationBuilds) that install dependencies onto a host that are required by your Applications to run properly. Besides an installer script, you must also define an uninstaller script to remove the dependencies and to allow clean up of a host after removing all applications running on it.

## Create your dependency template

1. Go to **Game Hosting > Templates**.
2. Select the **Dependency** tab.
3. Click **Create template**.
4. Enter your **Template name**.
5. Select your **Dependency Installer Build** from the drop down list.
6. Select your **Dependency Uninstaller Build** from the drop down list.
7. Click **Create**.

## Create your Host Capacity template

When you create your own host capacity template, you define how many game instances you want deployed on any specified Bare metal and/or Virtual machine instance types.

1. Go to **Game Hosting > Templates**.
2. Select the **Host Capacity** tab.
3. Click **Create template**.
4. Enter a **Template name**.
5. Click **Add host capacity**.
6. **Select a Provider** from the drop down list.
7. Select your **Instance Type** from the drop down list. Please note that depending on your Cloud provider choice, your instance type selections will differ.
8. Click **Save**.

## Related topics

* [Define your application and create your application build](/game-hosting/get-started/set-up-guide.md)
* [Game deployment environment, profile, and fleets introduction](/game-hosting/get-started/game-deploy.md)
* [Orchestrator Overview](/game-hosting/game-integration/orchestratoroverview.md)


---

# 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.i3d.net/game-hosting/get-started/game-template.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.
