Back to DiceX ConnectGuide

Set up DiceX Connect, step by step

A short tour of every screen in the plugin, in the order you will use them. Each step shows the real screen, so you know what to look for.

Install and open the plugin

Everything starts with a DiceX account and an API key. The plugin itself is free.

  1. In your WordPress dashboard, go to Plugins → Add New, search for “DiceX Connect”, then install and activate it.
  2. A DiceX menu appears in the sidebar. It opens on the Getting started tab, which explains what the plugin does.
  3. No DiceX account yet? Choose Create an account. Already a member? Choose Get your API key and copy the key from your DiceX panel.

Good to know: Nothing leaves your site until you enter an API key.

The Getting started tab
The Getting started tab

Connection: your key and your region

One tab tells the plugin who you are and where you operate.

  1. Paste the API key and press Check connection.
  2. Choose your region: Iran, GCC or World Wide. It decides which channels and payment gateways the plugin offers. Nothing about the region is sent to DiceX.
  3. If you will use two-step login, set the code length: 4 to 8 digits, 6 by default.
  4. Optional: the message language, the voice call language, a line saying when a code expires and when an event happened, and the name that replaces {site_name} in your messages.

Good to know: On a Persian SMS, the extra line can turn one paid message into two. On WhatsApp, Telegram and Bale it costs nothing.

The Connection tab
The Connection tab

Sender lines: which line sends

Each channel sends from a line on your DiceX account.

  1. Open Sender lines. SMS, voice calls and Safir can go out on the DiceX shared line, so pick a line for them only if you want a particular one.
  2. WhatsApp, Telegram Bot and Bale Bot have no shared line. Activate a line for each in your DiceX panel first, then choose it here.
  3. Lines in use shows which channels are ready to send. Enter a mobile number and send a test message to check.

Good to know: Which channels you see depends on the region you chose on the Connection tab.

The Sender lines tab
The Sender lines tab

Integrations: what sends a message

Each plugin DiceX can listen to has a card. Switch on the ones you need.

  1. Open Integrations. A card whose plugin is not installed is greyed out.
  2. First add your own mobile number, with its country code, to your WordPress profile under Users → Profile. Until then the cards stay locked; pressing one explains why and offers Open your profile.
  3. Type your admin numbers once, one per line, and press Save numbers. Every card that sends to the admin list uses them.
  4. Switch a card on. Drag the channels into the order to try them: if the first does not get through, the next one is tried.
  5. Choose who is told: the admin list, WordPress administrators with a mobile number in their profile, the customer or the person who filled in the form, or any mix.
  6. Write the message with the tags listed under the field, such as {order_id} or {customer_name}, then press Save this card.
  7. Forms need no mapping: for WPForms, Contact Form 7 and Gravity Forms the plugin finds the mobile number among the submitted values. For Digits, also choose DiceX as the SMS gateway in Digits' own settings.

Good to know: Cards only listen. They change nothing in the other plugins, and a failed send never breaks an order or a form.

The Integrations tab
The Integrations tab
A card open: channel order, statuses, recipients and message
A card open: channel order, statuses, recipients and message

Two-step login

Protect the WordPress login screen with a one-time code.

  1. On the Integrations tab, switch on the DiceX two-step login card and pick a mode: a code after the password, passwordless sign-in with a mobile number, or both.
  2. The code goes to the mobile number in each user's WordPress profile. A user with no number there signs in with the password alone.
  3. The login screen says which channel the code went to, with a countdown. A resend moves to the next channel in your order.
  4. A code lasts 120 seconds. Five wrong tries end the attempt, and a code can be sent again three times, a minute apart.

Good to know: Locked out? Add define( 'DICEX_CONNECT_DISABLE_LOGIN_OTP', true ); to wp-config.php and the two-step login stands down until you remove it.

The code step on the WordPress login screen, here after Sign in with your mobile number
The code step on the WordPress login screen, here after Sign in with your mobile number

Customer Club

Keep your WordPress users and WooCommerce customers in your DiceX club, sorted into levels you define.

  1. Open Customer Club. The tab starts with five steps, shown until your first send: each ticks itself off when it is done, and the next one is marked.
  2. Connect your DiceX account: the club lives in your DiceX account, so the plugin needs the API key from the Connection tab first.
  3. Choose who joins: Every customer, or Only customers who agree, by ticking a box. Whether you need their agreement depends on the law where you sell, so nothing is chosen for you.
  4. Choose your levels: Use the ready-made levels ranks customers by orders — Inactive (no purchase for 180 days, checked first), Gold (10 orders or more), Silver (5 or more), Bronze (2 or more), Regular member for everyone else and Removed for people who leave. Or choose Build my own. Without WooCommerce you get Regular member and Removed only.
  5. Each level and contact group reads as one line that says what it asks for, such as “Orders: 10 or more”. Press Edit to change its conditions: amount spent, number of orders, days since the last purchase, age, product category, product, brand, country or city. Count customers shows how many match before you save. Up to 20 contact groups sit beside the levels.
  6. Switch the club on: this saves your settings and, the first time, reads your existing customers into their levels. Nothing is sent yet.
  7. Check the levels, then send to DiceX: Club status shows how many customers are in each level. If that is what you want, press Send to DiceX; if not, change the levels and save first.
  8. Optional: a welcome for new members and a message when someone moves up, in each language your site uses. Settings most clubs never change — the purchase window, extra fields, the birthday meta key and sync timing — sit under More settings. The Save button stays in view while anything is unsaved, and leaving the tab asks first.
  9. The date-of-birth field appears at checkout, on registration and in the account, in the Solar Hijri or Gregorian calendar. Customers can leave the club from their own account at any time.

Good to know: A number that reaches DiceX stays there: a customer who leaves moves to your removed-numbers level. Birthday greetings are sent by the DiceX panel, not by the plugin.

The Customer Club tab: five steps to a running club
The Customer Club tab: five steps to a running club
Levels, each as one line that says what it asks for
Levels, each as one line that says what it asks for
One level opened, with its conditions
One level opened, with its conditions
The date-of-birth field at checkout
The date-of-birth field at checkout
My Account: the date of birth and the club box, as a customer sees them
My Account: the date of birth and the club box, as a customer sees them

Credit: balance and top-up

See what your DiceX account has left and top it up without leaving WordPress.

  1. Open Credit to see your balance.
  2. Pick an amount or type your own, choose one of the gateways offered for your region, and press Pay online. In Iran these are Saman, Sepehr and Digipay.
  3. In the Gulf and World Wide, paying from the Credit tab is coming soon. There the tab names the gateways — Thawani and Tap in the Gulf, Tap World Wide — and links to your DiceX panel instead of showing a Pay button. In the Gulf it also shows the 5 OMR minimum and what that is worth in USD and EUR.
  4. Holding a discount coupon? Coupons are applied in the DiceX panel, so top up there instead.

Good to know: Try a small amount once before relying on it.

The Credit tab
The Credit tab
The Credit tab in the Gulf: online payment coming soon
The Credit tab in the Gulf: online payment coming soon

Logs and support

See what happened, and ask DiceX for help from inside WordPress.

  1. Open DiceX → Logs to see the latest events: messages sent, errors and sign-in attempts, with numbers partly hidden.
  2. Still stuck? Open the Support tab and write your email, a subject and what happened. It goes to DiceX support through your site's own mail.
  3. The plugin log is attached unless you untick it, with email and IP addresses shortened. Your API key is never sent. The answer comes to the email you gave.

Good to know: A site can send one support message a minute and five a day.

The Logs page
The Logs page
The Support tab
The Support tab

Screens from DiceX Connect 1.8.1 to 1.9.1 on a demonstration store. Names, numbers and balances are examples.