Relay docs
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

  • Complete Setup
  • Install the base Embed script
  • Render inside a Shopify embedded app page

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
  • Shopify app client ID saved in Relay
  • Shopify app client secret saved in Relay

Auth behavior

Feature requests use Shopify idToken() for authenticated actions.

  • Reading the list works with the embed token.
  • Creating requests needs Shopify auth.
  • Voting needs Shopify auth.
  • Replying needs Shopify auth.

If window.shopify.idToken() is not available, the surface falls back to read-only behavior.

On this page