CloudSignal Docs
GuidesClients

Create a client

Step-by-step guide to creating MQTT client credentials in the CloudSignal dashboard.

This guide walks you through creating MQTT client credentials that your applications and services use to connect.

Prerequisites

  • Logged into the CloudSignal dashboard.
  • Access to a workspace (a default workspace is created automatically).
  1. Log into the CloudSignal dashboard.
  2. Click Clients in the sidebar under Connections.

Click Create Client

Click the Create Client button in the top right corner.

Enter client details

Fill in the form:

FieldDescriptionExample
UsernameIdentifier for this credential (alphanumeric, hyphens allowed)agent-001
PasswordStrong password for authenticationUse generated or create your own
WorkspaceWhich workspace this user belongs toDefault workspace

Username tips: use descriptive names like mobile-app, backend-service, or agent-research. Keep them lowercase and use hyphens instead of spaces.

Save and copy credentials

  1. Click Create to save.
  2. Copy the password now. It won't be shown again.
  3. Note your Organization ID (found in Settings → Organization).

Construct the full username

To connect, you need the full username format:

username@organization_id

For example:

  • Username you created: agent-001
  • Your organization ID: a1b2c3d4-e5f6-7890-abcd-ef1234567890
  • Full username for connection: agent-001@a1b2c3d4-e5f6-7890-abcd-ef1234567890

Connection example

Once you have your credentials, connect like this:

JavaScript

const mqtt = require('mqtt');

const client = mqtt.connect('mqtts://mqtt.cloudsignal.app:8883', {
  username: 'agent-001@a1b2c3d4-e5f6-7890-abcd-ef1234567890',
  password: 'your-password-here',
});

Python

import paho.mqtt.client as mqtt
import ssl

client = mqtt.Client()
client.username_pw_set(
    'agent-001@a1b2c3d4-e5f6-7890-abcd-ef1234567890',
    'your-password-here',
)
client.tls_set(cert_reqs=ssl.CERT_REQUIRED)
client.connect('mqtt.cloudsignal.app', 8883)

Managing clients

Edit a client

  1. Go to Clients.
  2. Click on the client row.
  3. Modify details and save.

Reset password

  1. Go to Clients.
  2. Click on the client.
  3. Click Reset Password.
  4. Set the new password and save.

Delete a client

  1. Go to Clients.
  2. Click on the client.
  3. Click Delete.
  4. Confirm deletion.

Deleting a client immediately disconnects any active sessions using those credentials.

Best practices

One client per app or service

PatternExample
Recommendedagent-research, agent-orchestrator, mobile-app-ios, backend-processor
Anti-patternshared-account reused across many clients

Naming conventions

Use consistent naming that identifies the purpose:

{type}-{identifier}

Examples:
  agent-research-01
  worker-task-runner
  app-mobile-user-123
  service-notification

Environment separation

Create different clients for different environments:

dev-agent-001     (development workspace)
staging-agent-001 (staging workspace)
prod-agent-001    (production workspace)

Next steps

On this page