> ## Documentation Index
> Fetch the complete documentation index at: https://docs.link4sync.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Send your first event in six steps: create an account, create a topic, copy its address, and publish JSON.

**1. Create a free account**

[Sign up](https://www.link4sync.com/auth/register) and accept the business terms. The dashboard opens right after.

**2. Turn on a connection**

Open [Topics](https://www.link4sync.com/dashboard/topics) and find **Connection status**. On Basic, select the shared HTTP, HTTPS, or MQTT connection. On Premium, switch your own endpoint on.

**3. Create a topic**

Click **Create topic**. Names use lowercase letters, digits, and hyphens. The topic card appears with its addresses.

**4. Copy the address**

Pick HTTPS, HTTP, MQTT, or MQTTS on the topic card and copy its URL. For MQTT, also copy the **topic ID**, for example `u0123456789abcdef-orders`.

**5. Authenticate**

Get a token with your Link4Sync login:

```sh theme={null}
TOKEN=$(curl -s https://auth.link4sync.com/realms/link4sync/protocol/openid-connect/token \
  -d grant_type=password -d client_id=kafka-connect-access \
  --data-urlencode "username=$LINK4SYNC_EMAIL" \
  --data-urlencode "password=$LINK4SYNC_PASSWORD" | jq -r .access_token)
```

Prefer not to use your login? Reveal the **Producer** SCRAM credential on the topic card and follow [HTTP(S) with SCRAM](https://docs.link4sync.com/en/publish/http-scram.md) or [Publish over MQTT](https://docs.link4sync.com/en/publish/mqtt.md) instead.

**6. Send and check**

Publish a JSON value to the URL from the topic card:

```sh theme={null}
curl -i -X POST "$LINK4SYNC_URL" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"temperature": 21.5}'
```

You get `202 Accepted`. Open the topic in the dashboard to see the event arrive.

> [!NOTE]
>
> The first request after you switch a connection on can take longer while the endpoint starts.

> [!WARNING]
>
> Never hard-code credentials. Read them from environment variables and keep them out of logs.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.