1

Create an API key

In the CRM, open Settings → API keys and create a key. It starts with gd_key_ and is shown once, so store it as a secret, for example CRM_API_KEY.
The key can write to your workspace. Use it only from your backend, never in a browser.
2

Install the SDK

3

Create a client

4

Send a contact

Call this wherever a user signs up or changes their details. It is safe to call every time.
Already sent this customer? Look them up with contacts.resolve instead. Faster still: save contact.id in your own database the first time, and pass it as partyId from then on. No lookup needed.
5

Record what they do