Quick Start Guide
Get up and running with Trusted Accounts in under 5 minutes. This guide will walk you through setting up bot detection (our core service) and show you how to optionally add other protection layers.
π Step 1: Get Your Credentialsβ
- Visit the Developer Console
 - Sign up for a free account
 - Create your first project
 - Copy your 
PUBLISHABLE_KEYfrom the project settings 
π― Step 2: Add Bot Detection (Required Foundation)β
Add this single script tag to your HTML (in the <head> or <body>):
<script 
  async 
  src="https://api.trustedaccounts.org/js-sdk.js" 
  onload="new TrustedTraffic({publishableKey:'YOUR_PUBLISHABLE_KEY'}).init()">
</script>
That's it! You now have:
- β Real-time bot detection
 - β Traffic analytics dashboard
 - β Zero backend changes required
 
π Step 3: View Your Resultsβ
- Open your Admin Console
 - Navigate to Traffic Overview
 - See live charts showing human vs. bot traffic
 - Monitor suspicious IP clusters and route heatmaps
 
π Step 4: Add Account Protection (Optional)β
When you're ready to validate individual users, add this backend integration:
Frontend: Get the session IDβ
const taSessionId = window.localStorage.getItem('ta_session_id');
// Pass this to your backend (e.g., in signup/login forms)
Note: The API uses Bearer token authentication. Include your secret key in the
Authorizationheader asBearer YOUR_SECRET_KEY.
Backend: Bind user to trafficβ
// Example with Axios
await axios.post(
  `https://api.trustedaccounts.org/api/v1/traffic/bind`,
  {
    trustedSessionId: taSessionId,
    userId: 'your_user_id'
  },
  {
    headers: {
      'Authorization': `Bearer ${SECRET_KEY}`,
      'Content-Type': 'application/json'
    }
  }
);
π¨ Troubleshootingβ
Script not loading?β
- Check your internet connection
 - Verify the script URL is correct
 - Ensure no ad blockers are interfering
 
No data in dashboard?β
- Confirm your 
PUBLISHABLE_KEYis correct - Check browser console for errors
 - Wait a few minutes for data to appear
 
Need help?β
- Contact Support
 
Pro Tip: Start with bot detection and add other services as your security needs grow. The foundation you just built will make adding additional protection layers much easier!