> This page is for Docs.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://zuora.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://zuora.ferndocs.com/_mcp/server.

# Deploy metadata from GitHub repository

> Learn how to deploy a template by navigating the interface, initiating a deployment, and uploading templates from a repository.

Learn how to deploy a template by navigating the interface, initiating a deployment, and uploading templates from a repository.

From the main menu, navigate to **Administration** > **Deployment Manager**.

Click the **+New** icon to initiate a deployment.

Select **Upload Template**.

In the **Type** dropdown, select the **upload from repository** option and enter the following details:

![Deploy metadata from repository](/_fern-img/8b81f7c504cff8f895cce52eee3602494e623dd3f1e35360193f76b83aa434ae.webp)

| Parameter                    | Value                                                                                                                                                                                 |
| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Type                         | Upload the template from the repository or upload from local.                                                                                                                         |
| Select Token Key             | The Unique identifier provided at the time of mapping Deployment Manager to GitHub.                                                                                                   |
| Select repository and branch | Each repository in GitHub is tagged to a branch, select the applicable branch.                                                                                                        |
| File path                    | File path is copied from the GitHub repo. It is the path of the json file that is stored repo>file name>click on copy path.                                                           |
| Commit Message               | A brief description should be given for maintaining a record in GitHub, this can be the user story no or any description that will assist in tagging the file versioning and changes. |

The Retrieve button will automatically upload the template from the repository.

Copying the file path from Github

To copy the file path, navigate to the file in the repository, select the file name, and click Copy path. For example, consider the file example.py located under the sample-repo repository in the main branch

1. Navigate to [https://github.com/username/sample-repo](https://github.com/username/sample-repo).
2. Find and click on the src directory.
3. Click on example.py to open the file.
4. The breadcrumb navigation will show: sample-repo / src / example.py.
5. The full file path URL will be: [https://github.com/username/sample-r...src/example.py](https://github.com/username/sample-r...src/example.py). You can now copy this URL and use it as the file path. If you want to copy the relative path within the repository, you can use the breadcrumb path directly: src/example.py.

   ![Sample file for metadata](/_fern-img/c1fa5445c8f0637e4bb5394c4fd7c075ef7f3b6c850f0aab38b251f8e5beb1d1.webp)