#Getting started
There are five steps, and none of them involves DNS or a domain check:
| # | Step | Where |
|---|---|---|
| 1 | Create a free account on thehackstack.com (Get Started) | thehackstack.com |
| 2 | Submit your product as its owner | thehackstack.com → Submit |
| 3 | Open Developer from your account menu. Your product already has its own application and key. | Your apps and keys |
| 4 | Copy the Review button snippet into your website, software or app | Leave a Review |
| 5 | Done. Visitors click Review and land on your product's review page. | Login and signup flow |
Each product you own gets its own application, with its own key, as soon as you submit it. If you own three products, you have three keys. The keys are always shown in full in the Developer section, and on this docs site once you Sign in (top right) with the same account.
#How the Review button works
Your site or app TheHackStack
──────────────── ────────────
[Review us] ──click──▶ https://thehackstack.com/r/<your key>
• decrypts the key → app, owner account, product
• mints a temporary token (ths_rt_…, 2 hours)
│
signed in? ─────┼── yes ─▶ review page of that product
│
└── no ──▶ sign in / create an account
(token kept in the session and in
localStorage on thehackstack.com)
│
▼
review page of that product- Nothing to build on your side. One
<script>tag and a button, or just a link. - Always the right product. The key identifies the application, so visitors never have to search for your product after logging in.
- Not single-use. The same button works for every visitor, and each temporary token can be used again until it expires. Every review that arrives this way is attributed to your application, and you can see the count in the Developer section.
#The Verified badge
Reviews left through your Review button or link get the green Verified badge automatically. They came from your own website or app, and the reviewer has a confirmed email. Nothing else is needed.
Optional: to vouch for one specific signed-in customer (for example from your
app's account page), your server can use the application's secret key
(ths_sk_…, also shown in the Developer section):
| # | Step | Where |
|---|---|---|
| 1 | Add a backend route that creates verification sessions with your secret key | Verify Your Review, Integration guides |
| 2 | Add the Verify Your Review button for signed-in customers | SDK installation |
| 3 | Review the security checklist | Security best practices |
Try the API from your terminal:
curl -s -X POST https://thehackstack.com/api/v1/verification-sessions \
-H "Authorization: Bearer $THS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"customer":{"id":"test_customer_1"},"intent":"verify"}'Open the returned verification_url in a browser within 10 minutes. A product
owner can't verify their own product, so use a different TheHackStack account
than the one that owns it.