- Using AI
- Manual
These instructions are for those who prefer to develop using coding agents like Cursor and Claude Code.
1
Create your Trophy account
First, create a new account if you don’t already have one and head into the Trophy dashboard.Head through onboarding to get your account set up.
2
Configure MCP servers
For the best AI setup experience, connect Trophy through MCP:
- Docs MCP server URL:
https://docs.trophy.so/mcp(live documentation context) - Account MCP server URL:
https://mcp.trophy.so(account actions — see MCP; requiresx-trophy-api-key)
3
Tell your agent to perform initial setup
Here’s a prompt you can use with your coding agent to perform initial Trophy setup:This will:
Perform initial Trophy setup
Make sure to replace
<metric> with the metric you set up during onboarding.- Add the relevant Trophy SDK to your app based on your tech stack
- Add a new
TROPHY_API_KEYvariable to your environment settings - Add code to send events to Trophy based on the metric you set up during onboarding.
4
Grab your API key
Once the set up is complete, create an API key from the integration page of the Trophy dashboard and add it to your environment.
5
Build your first gamification feature
Once initial setup is complete, use this follow-up prompt to prepare your agent for the next step and have it ask you what to build next:For ideas on what to build next, explore:Or, explore our API reference to get familiar with what Trophy can do.
Build your first gamification feature
Achievements
Reward users for continued progress or taking specific actions.
Streaks
Motivate users to build regular usage habits.
Points
Build sophisticated points systems to reward and retain users.
Leaderboards
Create friendly competitions to increase user engagement.
Emails
Deliver personalized lifecycle emails to users at the perfect moment.
Push Notifications
Drive automated notification flows using personalized gamification data.