> ## Documentation Index
> Fetch the complete documentation index at: https://docs.staging.alpic.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Hosting Assets

> Learn how to host complete ChatGPT Apps on Alpic

## Overview

[ChatGPT Apps](https://openai.com/index/introducing-apps-in-chatgpt/) are a new way for ChatGPT users to interact with your services directly from the ChatGPT interface. In practice, ChatGPT Apps are MCP servers exposing tools and MCP resources linking to UI components.

Alpic allows you to host complete ChatGPT Apps with zero-configuration, by hosting both the MCP server and the UI assets used by your ChatGPT App.

<Tip>
  To learn more in detail about how OpenAI ChatGPT Apps work, read our blog post: [Inside OpenAI’s Apps SDK: How to
  Build Interactive ChatGPT Apps with
  MCP](https://alpic.ai/blog/inside-openai-s-apps-sdk-how-to-build-interactive-chatgpt-apps-with-mcp).
</Tip>

## Building your ChatGPT App

Alpic provides a minimal starter kit in TypeScript to help you bootstrap your ChatGPT App.

To get started, fork the [Alpic Apps SDK starter kit](https://github.com/alpic-ai/apps-sdk-template) or simply use the following link to clone the repository and deploy it on Alpic:
[![Deploy on Alpic](https://assets.alpic.ai/button.svg)](https://app.alpic.ai/new/clone?repositoryUrl=https%3A%2F%2Fgithub.com%2Falpic-ai%2Fapps-sdk-template)

<Note>
  Alpic supports ChatGPT apps written in any language and framework. You can of course use your favorite framework to
  build your ChatGPT App.
</Note>

## Hosting your ChatGPT App assets on Alpic

Alpic provides the `/assets` endpoint on all deployed servers. This allows you to serve static files like images, JavaScript, and CSS files used by your ChatGPT App.

The `/assets` endpoint is populated in the following way:

* We look for assets in the `/assets` folder at the project root location (your repository root by default)
* We look for assets built during deployment and stored in the `/assets` folder in the build **output directory** specified in your Settings. By default, this is the `dist` folder, so we look for assets in the `dist/assets` folder by default
* If both folders contain assets, a merge is done, with priority given to freshly built assets in case of conflict

You can access your assets in your MCP server tools and resources code by using the relative path `/assets`.

<Warning>
  Note that OpenAI heavily caches ChatGPT Apps assets. In development mode, you can go to **Settings** > **Apps & Connectors**, then select your app and click on "**Refresh**" to clear the cache.
</Warning>
