| title | Quick Start |
|---|---|
| description | Get up and running with Trophy in under 10 minutes |
| og:description | Follow this quick start guide to integrate Trophy into your backend and add gamified features like achievements and streaks into your app. |
import SdkInstallCommand from "/snippets/sdk-install-command.mdx"; import AddEnvVarBlock from "/snippets/add-env-var-block.mdx"; import MetricChangeRequestBlock from "/snippets/metric-change-request-block.mdx"; import MetricChangeResponseBlock from "/snippets/metric-change-response-block.mdx";
Here you'll integrate your backend web application with Trophy and start building your first gamified feature.
First, [create a new account](https://app.trophy.so/sign-up?utm_source=docs&utm_medium=quickstart) if you don't already have one and head into the [Trophy dashboard](https://app.trophy.so).Head through onboarding to get your account set up.
<SdkInstallCommand />
Alternatively, you can directly call the API using any server-side HTTP library.
<AddEnvVarBlock />
Make sure to pass this API key to the Trophy SDK or to your API client to authenticate.
Here you'll create your first metric to get started. In the Trophy dashboard, head into the [metrics page](https://app.trophy.so/metrics) and hit the _New Metric_ button:
<Frame>
<video
autoPlay
muted
loop
playsInline
className="w-full aspect-video"
src="../assets/platform/metrics/create_new_metric.mp4"
></video>
</Frame>
Give the metric a name and hit _Save_.
<Frame>
<video
autoPlay
muted
loop
playsInline
className="w-full aspect-video"
src="../assets/quick-start/copy_metric_key.mp4"
></video>
</Frame>
To track an event against this metric when a user interacts with your product, call the [metric change event API](/api-reference/endpoints/metrics/send-a-metric-change-event), passing along details of the user that made the interaction. In this example the metric key would be `words-written`:
<MetricChangeRequestBlock />
By making this call, you're telling Trophy that a specific user made an interaction with your product. As a result, Trophy will process any gamification features like achievements or streaks that you've configured against the metric automatically.
Follow the links below to learn more about each feature you can build with Trophy:
<CardGroup>
<Card title="Achievements" icon="trophy" href="/platform/achievements">
Reward users for continued progress or taking specific actions.
</Card>
<Card title="Streaks" icon="flame" href="/platform/streaks">
Motivate users to build regular usage habits.
</Card>
<Card title="Points" icon="sparkle" href="/platform/points">
Build sophisticated points systems to reward and retain users.
</Card>
<Card
title="Leaderboards"
icon="/icons/leaderboard.svg"
href="/platform/leaderboards">
Create friendly competitions to increase user engagement.
</Card>
<Card title="Emails" icon="mail" href="/platform/emails">
Deliver personalized lifecyle emails to users at the perfect moment.
</Card>
</CardGroup>
Or, explore our [API reference](/api-reference/introduction) to get familiar with what Trophy can do.
Want to get in touch with the Trophy team? Reach out to us via email. We're here to help!