Create an account, add a sample feature request, and display it in your application. Finish by casting a vote and confirming it in the dashboard. You need access to an email inbox and either a website or an application on one of the supported platforms.

The first feedback integration uses a public project ID. You do not need a management API key, a custom domain, or a webhook to complete it.

1. Create your account

  1. Open Create an account. If you already have an account, sign in.
  2. Enter your full name, email, and a password of at least eight characters, or use an available Google or GitHub sign-in option.
  3. If AppGram asks you to confirm your email, open the confirmation message and complete that step before signing in. If it does not arrive, check spam and the email address you entered. Use the sign-in screen’s confirmation controls when offered.

If a teammate invited you, open the invitation link and sign in with the invited email. Join that organization instead of creating a duplicate workspace. Ask its owner or administrator for project access if you cannot see the intended project.

Check: you can enter the dashboard or its workspace setup flow without a sign-in or email-confirmation error.

2. Create or select a project

For a new workspace, complete the onboarding Setup step with an organization name and a project name, such as Feedback sandbox. The organization holds your team and projects; the project selects the product whose feedback you will collect.

Choose the SaaS product use case for this walkthrough. It provides a feedback-oriented starting setup. Continue through the Brand, Team, and Launch steps; you can leave optional branding and invitations for later. Completing onboarding does not deploy your application.

If you already belong to an organization, select it and open Projects. Choose New project, enter the name, and select Create project, or select an existing test project. Project creation requires project-management permission; ask an administrator if the control is unavailable.

Check: the intended organization and project are selected in the dashboard. Keep this selection when you create feedback and copy identifiers.

3. Add one visible feature request

  1. Open the project’s feedback requests.
  2. Choose New request, enter the title Feedback integration check, and add a description such as A sample request for verifying our AppGram integration. Select a category if you need one, then choose Create request.
  3. Open the new request. If it shows Awaiting approval · approve, approve this sample request with an account that has permission to manage feedback. An Approved request is visible on the public portal.

Feedback settings include Require approval. When it is enabled, a new submission can be stored successfully while remaining hidden from public lists. Keep the moderation policy you intend to use; approve the sample instead of disabling moderation just to pass this walkthrough.

Check: you can find the request by title in the dashboard and its approval indicator shows Approved.

4. Copy the matching project details

With the same project selected, open Developer tools → Overview. Under Identifiers, copy Project ID. Use that value for every YOUR_PROJECT_ID placeholder below. Organization ID identifies the workspace and is a different value.

React, React Native, and Flutter examples also show organization and project slugs for features such as releases. On Projects, open the project’s actions menu and select View public page. On the standard portal, its path has the form /p/ORGANIZATION_SLUG/PROJECT_SLUG/. Copy those two path segments, not the display names or IDs. If a custom domain hides that path, get the standard portal slugs from your workspace administrator. The organization slug is also shown under Settings → Organization → URL slug.

If Developer tools is unavailable, ask an administrator for access or for the project’s public identifiers. Public identifiers are safe to configure in a client; management API keys belong on your backend. See API authentication.

Check: your copied project ID belongs to the project containing Feedback integration check.

5. Show feedback in your application

Choose one route. The website demo is a complete page; SDK examples assume an existing application on that platform.

Website / JavaScript embed

Create a folder containing index.html with this complete page. Replace YOUR_PROJECT_ID:

Code example
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>AppGram feedback demo</title>
  </head>
  <body>
    <h1>Feedback</h1>
    <div id="appgram-feedback" style="height: 600px"></div>
    <script>
      window.appgramSettings = {
        projectKey: 'YOUR_PROJECT_ID',
        mode: 'inline',
        container: '#appgram-feedback',
        defaultPage: 'feedback',
      };
    </script>
    <script src="https://cdn.appgram.dev/appgram.min.js"></script>
  </body>
</html>

Serve that folder with your normal local web server. For example, if Python 3 is installed, run this from the folder and open the local demo:

Code example
python3 -m http.server 8000 --bind 127.0.0.1

The feedback widget should appear inside the page. The script needs network access to AppGram’s CDN and portal. Continue with embed setup for floating mode, lifecycle, and script-policy details.

React / Next.js

In an existing React application with React and React DOM 18 or newer:

Code example
npm install @appgram/[email protected]

Replace the project values and render this component from your application. For Vite, it can be src/App.tsx; for Next.js App Router, put it in a client component and render it from a page.

Code example
'use client';

import { AppgramProvider, useAppgramContext, useVote, useWishes, type Wish } from '@appgram/react';

function FeedbackVote({ wish }: { wish: Wish }) {
  const { fingerprint } = useAppgramContext();
  const { hasVoted, voteCount, isLoading, error, vote } = useVote({
    wishId: wish.id,
    initialVoteCount: wish.vote_count,
    initialHasVoted: wish.has_voted,
  });

  return (
    <div>
      <button
        onClick={() => void vote()}
        disabled={!fingerprint || isLoading || hasVoted}
        aria-pressed={hasVoted}
      >
        {hasVoted ? 'Voted' : isLoading ? 'Saving…' : 'Vote'} ({voteCount})
      </button>
      {!fingerprint && <span> Preparing anonymous voting…</span>}
      {error && <p role="alert">{error}</p>}
    </div>
  );
}

function Feedback() {
  const { wishes, isLoading, error, refetch } = useWishes();

  if (isLoading) return <p>Loading feedback…</p>;
  if (error) return (
    <div>
      <p role="alert">{error}</p>
      <button onClick={() => void refetch()}>Try again</button>
    </div>
  );
  if (wishes.length === 0) return <p>No feature requests yet.</p>;

  return (
    <ul>{wishes.map((wish) => (
      <li key={wish.id}>
        <h2>{wish.title}</h2>
        <FeedbackVote wish={wish} />
      </li>
    ))}</ul>
  );
}

export default function App() {
  return (
    <AppgramProvider config={{
      projectId: 'YOUR_PROJECT_ID',
      orgSlug: 'your-org',
      projectSlug: 'your-project',
    }}>
      <Feedback />
    </AppgramProvider>
  );
}

This example uses HTML and your own application styles, so it does not need the prebuilt component styling setup. Anonymous voting waits for the provider’s fingerprint to initialize. Read customer identity before changing that behavior, and React setup for prebuilt components and styling.

React Native

Install the SDK and its native peer dependencies:

Code example
npm install @appgram/[email protected]
npm install @react-native-async-storage/async-storage lucide-react-native react-native-svg react-native-markdown-display react-native-render-html

Use versions compatible with your native application and complete their platform installation steps. Follow React Native setup, replace the project values, and render its WishList screen under AppgramProvider.

Flutter

Code example
flutter pub add appgram_flutter:^1.0.0

Follow Flutter setup, replace the project values in its complete lib/main.dart example, and run the application. Its WishList belongs inside AppgramProvider.

Swift

Add the package with Swift Package Manager:

Code example
.package(url: "https://github.com/AppGram/apple-sdk.git", from: "1.0.1")

The package supports iOS 17+ and macOS 14+. Follow Swift setup to add the AppGramSDK product, configure your public project ID, and display the feedback view.

Check: Feedback integration check appears in your page or application. A successful empty list means the connection worked but no matching public request was returned; it does not complete this sample-content check.

You can isolate the data request from the interface with:

Code example
curl --get --include 'https://api.appgram.dev/portal/wishes' \
  --data-urlencode 'project_id=YOUR_PROJECT_ID' \
  --data-urlencode 'search=Feedback integration check' \
  --data-urlencode 'page=1' \
  --data-urlencode 'per_page=20'

Expect HTTP 200 and the sample title in the response’s data list. If the list is empty, check project selection and approval. If the request fails, inspect its HTTP status and body using pagination and errors and troubleshooting.

6. Cast a vote and confirm it in the dashboard

  1. Find Feedback integration check in your application and note its vote count.
  2. Cast one vote using the widget’s vote control, the native feedback interface, or the React example’s Vote button. Wait for the request to finish; check any error shown by the interface.
  3. Refresh the same request in the dashboard. Its vote count should include your vote. Reload your application and confirm the count is still present.

If this customer identity has already voted, another click may remove the vote in interfaces with toggle controls; the React example instead shows Voted and disables its button. A local count change alone is not confirmation that the server saved it. Refresh the dashboard and check the network response when the two disagree.

Check: the sample request is visible in the application and the dashboard reflects the saved vote. You now have a working feedback integration.

7. Verify submissions and prepare for production

If your chosen interface includes a submission form, submit a second synthetic request with a distinct title. Confirm it arrives in the dashboard. With Require approval enabled, approve it there before expecting it in the public list. Complete any customer verification or bot-protection challenge the form presents. The React example above covers reading and voting; adding a submission form is a separate step using the documented React components and client APIs.

Before exposing the integration to customers, follow Going to production for project separation, team permissions, plan restrictions, credentials, identity, and launch checks. Add webhooks only when your integration needs server notifications.

Use the public API reference for HTTP workflows, or Build with AI agents to give your coding assistant the same documentation.