Triagly Docs

Getting Started

Get up and running with Triagly in less than 5 minutes.

30-Second Quick Start

import Triagly from '@triagly/sdk';

const triagly = new Triagly({
  apiKey: 'pub_live_abc123',  // Get from Settings > API Keys
});

// That's it! The feedback button now appears on your page.

Step-by-Step Guide

1

Install the SDK

npm install @triagly/sdk
# or
pnpm add @triagly/sdk
2

Get Your API Key

Sign up at app.triagly.com and go to Settings > API Keys.

Your API key starts with pub_

3

Initialize Triagly

import Triagly from '@triagly/sdk';

const triagly = new Triagly({
  apiKey: 'pub_live_abc123',

  // Optional: Customize appearance
  theme: 'auto',
  position: 'bottom-right',
  buttonText: 'Feedback',
});
4

Test Your Integration

Look for the feedback button on your page
Click and fill out the feedback form
Check your Triagly dashboard for the submission

Common Issues

Widget not appearing?

  • Check browser console for errors
  • Verify your API key is correct (starts with pub_)
  • Ensure your domain is in the allowed origins list

“Origin not allowed” error?

  • Add your domain to Settings > Security > Allowed Origins
  • Include all variations (www, subdomains, localhost for dev)