Implementation
Feature requests
Mount the feature requests surface with the smallest working setup.
This page is for teams that only want to add the feature requests surface without pulling in the rest of the embed UI.
Minimum requirements
Mount only feature requests
<script src="https://app.superrelay.ai/embed/embed.js" data-token="YOUR_EMBED_TOKEN"></script>
<div id="relay-feature-requests"></div>This is the smallest possible feature requests install.
What must exist
- Relay app with an embed token
- A Relay Secret generated for the app
- Your server signing the shop identity with it — see Identity Verification
Auth behavior
Feature requests use a verified shop identity (window.RelayEmbed.identity) for authenticated actions.
- Reading the list works with the embed token.
- Creating requests needs a verified shop identity.
- Voting needs a verified shop identity.
- Replying needs a verified shop identity.
If window.RelayEmbed.identity is not available, the surface falls back to read-only behavior.