Skip to content

How to Create a Twilio Account and Find Your Credentials (Pro)

Purchase via WhatsApp sends and receives WhatsApp messages through Twilio. Twilio is the company that connects your store to WhatsApp’s business platform. This tutorial gets you from no account to a saved connection.

You need two values from Twilio: the Account SID and the Auth Token. Think of them as a username and password that let your store use your Twilio account.

Open twilio.com/try-twilio. Fill in your first name, last name, email and a password, tick the terms box and click Continue.

The Twilio sign up page with name, email and password fields

Twilio then asks you to:

  1. Confirm your email address with the link it sends.
  2. Verify your phone number with a code.
  3. Answer a few questions about what you are building. Any answer works, such as “WhatsApp” and “Notifications”.

A new account starts as a free trial with some credit. The trial is enough to test everything with the Twilio WhatsApp Sandbox.

Sign in at console.twilio.com. The first screen is the Account Dashboard.

The top bar shows your account name and, on a trial, your remaining credit with an Upgrade link. You can upgrade later, when you register your own WhatsApp number.

Step 3: Copy the Account SID and Auth Token

Section titled “Step 3: Copy the Account SID and Auth Token”

Scroll down to Account Info.

Account Info on the Twilio Account Dashboard with the Account SID and Auth Token

  • Account SID starts with AC. Click the copy icon beside it.
  • Auth Token is hidden behind dots. Click Show, or the copy icon, to copy it.

In WordPress, go to Purchase via WhatsApp → Configuration → Twilio.

The Account SID field boxed on the Twilio tab

  1. Paste the Account SID into Account SID.
  2. Paste the Auth Token into Auth Token.
  3. Leave API Key SID and API Key Secret empty for now.
  4. Click Save Changes.

The Auth Token field boxed on the Twilio tab

After saving, the Auth Token field shows only dots and its last four characters. The token itself is never shown in the browser again.

The connection is not finished yet. Your store still needs a WhatsApp number to send from, and Twilio needs your store’s address for customer replies.

  1. How to Test with the Twilio WhatsApp Sandbox gives you a free test number.
  2. How to Connect Twilio to Your Store sends customer replies to your store.
  3. How to Send a Test Message checks the whole connection.

Once it all works, How to Connect Twilio with an API Key lets the store send without the Auth Token.