Template Client Applications
We have four different types of template client applications.
template-app-fullpagetemplate-app-plugintemplate-app-multi-fullpagetemplate-app-multi-plugin
You can access our template client applications under the templates/ folder in
the ui-protocol repository.
You can integrate them with your main application by following the instructions
in the README.md files inside our template client applications.
Local Development with Chrome Extension
Overview
The UI Protocol project includes a Chrome extension that helps developers work
with local client applications while using the production shell environment.
This extension intercepts requests to the /api/v1/applications endpoint and
provides custom responses for local development purposes.
You can download the Chrome extension from:
ui-protocol-chrome-extension.zip
How It Works
The extension works by:
- Intercepting API requests to the
/api/v1/applicationsendpoint on the target website - Replacing the response with custom configuration that points to your local client application
- Allowing you to specify custom URL, title, and client app type for the response
Demo
Setup Instructions
1. Loading the Extension
- Download the extension from
ui-protocol-chrome-extension.zip
- Extract the ZIP file
- Open Chrome and go to
chrome://extensions/ - Enable “Developer mode” in the top right
- Click “Load unpacked” and select the extension directory from the extracted ZIP file
2. Configuration
After loading the extension:
- Click on the extension icon in your Chrome toolbar
- Enter the following details:
- Web URL: The URL where your client app is running (e.g.,
http://localhost:3000) - App Name: The display title for your client app in shell UI
- App Visible Type: The visible type identifier for your client app in shell UI
- Web URL: The URL where your client app is running (e.g.,
Usage
Once configured, the extension will automatically:
- Intercept requests to
/api/v1/applications - Return your local development configuration
- Allow you to see your local client app within the production shell environment
Note that while the extension is active, you won’t be able to receive the
actual response from the /api/v1/applications endpoint as all requests will
be intercepted and replaced with your local configuration.
Troubleshooting
If you encounter issues, check the following: - Ensure the extension is enabled - Check that the URL matches your local development server - Verify that the client app type matches the expected configuration - Use Chrome DevTools Network tab to confirm the request interception