How to Connect X Direct Messages Using Your X Chat Passcode
Learn how to connect X direct messages to OmniServe using your 4-digit X Chat passcode, and how to reconnect or edit the channel if the passcode changes.
X is moving direct messages to X Chat, which is encrypted. To keep receiving and replying to X direct messages in OmniServe, enter your 4-digit X Chat passcode when you set up the channel. You only enter it once. Lucidya then keeps the connection active.
Before You Start
- An X Chat passcode set on the X account. You set it on X under Privacy and safety → Direct messages → X Chat.
- Permission to add and edit channels in Lucidya.
- The passcode is the 4-digit code you created for X Chat. It is not your X login password.
Step by Step
Step 1 – Start a New Channel
Go to Managed Channels → Manage Channels, then click Add Channel.
Step 2 – Choose the Category
Select Social Media, then click Next.

Step 3 – Select the X Account
In the X Platform tab, select the account you want to add, then click Next.
- If the account is not listed, click Add Account.

Step 4 – Connect X Direct Messages
Under Connect X Direct Messages, enter your 4-digit passcode, then click Connect.
- The passcode is hidden by default. Click the eye icon to view or hide it.
- Connect stays disabled until you enter the passcode.
- When the passcode is correct, you see "X Direct Messages connected successfully." and the button changes to Reconnect.
- If the passcode is wrong, you see "Incorrect PIN. Check the PIN on X and try again."

Step 5 – Set Your Chatbot Preference
Under Do you use a chatbot?, select one option:
- Yes, I use a chatbot.
- No, I handle conversations manually.
Step 6 – Set Session Settings
Fill in both required fields and choose a time unit for each:
- End session if the customer doesn't reply within
- End session if the agent doesn't reply within
Step 7 – Add the Channel
Click Add Channel. The button stays disabled until your passcode is connected.
Managing the Channel
Reconnect the Channel
If the X Chat passcode was changed or reset on X, reconnect the channel to restore messages.
- Go to Managed Channels → Manage Channels.
- Click the three dots next to the X Platform(DM) channel, then click Reconnect.
- Enter the passcode in the Connect X Direct Messages pop-up, then click Connect.
Edit the Channel
- Click the three dots next to the channel, then click Edit.
- Step 1 of 3: Enter the passcode and click Connect. You can leave it empty if you only want to change other settings.
- Step 2 of 3: Update your chatbot preference.
- Step 3 of 3: Update Session Settings, then click Save and Apply.

What Agents See in the Inbox
If the connection stops working, agents see a banner in the X direct messages inbox:
- X Chat messages paused: The passcode was changed or reset. New messages are not shown, and replies cannot be sent.
- X Chat messages unavailable: No passcode has been added to this channel yet.
- If an agent sends a reply while the connection is down, they see "Reply not sent." The reply stays in the reply box so they can send it again later.
Once you reconnect, the banner disappears. Missed messages then load in order, with the time X received them.
For further assistance contact Lucidya Support.
Frequently asked questions
No. It is the 4-digit code you created for X Chat. Lucidya never saves or logs it.
After 5 wrong attempts in a row, passcode entry is blocked for 1 minute. After 20 incorrect attempts, reset your passcode in X Chat or ask the account owner to reset it.
No. Existing channels keep working as they do today. Add the passcode through Edit or Reconnect before X retires the old direct messages.
No. You only enter it again if the passcode is changed or reset on X.