# 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.&#x20;

## 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.&#x20;

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&#x26;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](https://glyue.docs.sandboxbanking.com/integration-gateway-platform-reference/frontends).

## 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: 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://glyue.docs.sandboxbanking.com/how-to-guides/how-to-build-and-deploy-a-custom-frontend.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.
