Skip to main content
Version: Isle Royale (2.5.0)

Getting Started with ToughClicks

Welcome to the ToughClicks Developer Documentation! ToughClicks is a comprehensive platform for managing document acceptance and verification with support for multiple packets.

What is ToughClicks?​

ToughClicks provides a simple, powerful way to manage legally binding agreements in your application. Whether you need users to accept Terms of Service, Privacy Policies, or any other legal documents, ToughClicks handles:

  • Document Management - Create and version your legal documents
  • User Acceptance - Track who accepted what and when
  • Verification - Verify user compliance across all your documents
  • Multi-Packet Support - Handle multiple document sets with different display options

Quick Start​

Get up and running with ToughClicks in 3 simple steps:

1. Install the Library​

npm install @toughclicks/js-client-sdk

Or use the CDN:

<script src="https://cdn.toughclicks.com/lib/{version}/toughclicks.umd.js"></script>
<link rel="stylesheet" href="https://cdn.toughclicks.com/lib/{version}/toughclicks.css" />

2. Initialize ToughClicks​

import { ToughClicks } from '@toughclicks/js-client-sdk';

const toughClicks = new ToughClicks(
'your-client-token',
'your-packet-id'
);

3. Configure and Render​

toughClicks.setDisplayOptions({
containerId: 'tc-agreements',
signerIdSelector: 'user-email-input',
displayMethod: TCDisplayMethod.individual,
shouldOpenModal: false,
manualAcceptance: false
});

toughClicks.render();

Before You Start​

To use ToughClicks, you'll need:

  • Client Token - Your API token from the ToughClicks Management Portal
  • Packet ID - The ID of the document packet you want to render

For testing purposes, you can use:

  • ClientId: 477951a5-069b-401f-ab7f-32db486d5741
  • PacketId: 3646a13b-cbd1-482c-9947-460cb74a71f2
warning

These test credentials may change at any time. Get your own credentials from the ToughClicks Management Portal.

What's New: Multi-Packet Support​

ToughClicks now supports handling multiple packets simultaneously, each with their own display options! This allows you to:

  • Render different document sets in different parts of your page
  • Use different display methods for each packet (individual, group, scroll)
  • Mark packets as optional - users only need to accept required packets
  • Track acceptance across all packets with unified events

Learn more in the Multiple Packets Guide.

Next Steps​

Support​

If you need assistance during integration:

Happy integrating! 🚀