> For the complete documentation index, see [llms.txt](https://glyue.docs.sandboxbanking.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://glyue.docs.sandboxbanking.com/how-to-guides/how-to-build-and-deploy-a-custom-frontend.md).

# How to Build and Deploy a Custom Frontend

## What is a Frontend?

Frontends are lightweight applications hosted on Integration Gateway. They can be used to support a wide range of use cases, including creating dashboards, giving easy access to run integrations, or simply as a fast way to host an internal application.

## Accessing a Frontend

Frontends can be given custom subaddresses on your Integration Gateway domain (e.g. `glyueprod.examplebank.sandboxbanking.com/frontends/example_dashboard`) making them easy to bookmark, link, and distribute.

All Frontends have built-in Integration Gateway authentication; users must first log in with their Integration Gateway account before they can load a Frontend.

## Creating a Frontend

Frontends can be created by uploading a `.zip` bundle that contains the `.html`, `.js`, and `.css` files for your web application, along with any other assets that may be required.

Frontends require a file named `index.html` to be present, which will be used as the entrypoint into the application. Relative references to pages within the frontend (e.g. `/resources/logo.png`) will work as expected.

<figure><img src="https://688288018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1flQ2To8tQpCQWl2Ty9U%2Fuploads%2FoGPBSWHQ9IDhj8xajpgV%2FScreenshot%202024-07-15%20at%204.51.27%E2%80%AFPM.png?alt=media&amp;token=8a874abd-db83-427e-ab53-69ad5fd479b8" alt=""><figcaption><p>Create a Frontend by giving it a name, path, and uploading the .zip</p></figcaption></figure>

For details on more advanced Frontend features and sample code snippest, see the [reference documentation](/integration-gateway-platform-reference/frontends.md).

## Editing a Frontend

Once created, a Frontend can be modified by replacing the contents of the uploaded `.zip` with an updated version. Upon save, the new version will be deployed.

The source code of the currently-served Frontend can be downloaded from within the *Edit* page of the Frontend.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://glyue.docs.sandboxbanking.com/how-to-guides/how-to-build-and-deploy-a-custom-frontend.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
