Use this guide to create MQTT certificates and connection details for a PLC integration in Factbird. The generated certificates allow your PLC gateway or MQTT client to connect securely to Factbird.
When to Use This
Use this guide if:
- You need MQTT certificates for a PLC integration
- You want to connect a PLC gateway to Factbird securely
- You need a hardware ID and MQTT topics for PLC data ingestion
Prerequisites
Before starting:
- You must have access to the Factbird platform
- You must have permission to manage integrations or devices
- Your PLC gateway or MQTT client must support TLS certificates
- You must know which client type to use
Steps
- Go to Administration->Devices
-
Click + Device and select Custom Integration
- In the Client type dropdown, select the PLC integration type you want to use.
- Review the expected payload format displayed in the setup window.
- Review the MQTT endpoint listed under Endpoints.
- Review the generated MQTT topics:
- plc/input/<hardwareId> for periodic sensor data
- plc/event/<hardwareId> for event-driven messages
- Click Create Client.
- Wait for the confirmation message: Client created successfully.
- Copy or save the generated Hardware ID.
- Click Download Certificate Archive.
- Save the downloaded certificate archive securely.
- Extract the certificate archive.
- Import the certificates into your PLC gateway or MQTT client.
- Configure the MQTT connection using:
- The provided MQTT endpoint
- Port 8883
- The downloaded certificates
- The generated hardware ID
- The generated MQTT topics
- Click Done to close the setup dialog.
Expected Result
After completing these steps:
- MQTT certificates are generated successfully
- A unique hardware ID is created
- Certificate files are downloaded successfully
- Your PLC gateway can authenticate securely with Factbird
- Your PLC integration is ready to publish MQTT data
Still Need Help?
Contact Support and include:
- The generated hardware ID
- The selected client type
Related Articles