• Home
  • >
  • Customer Authentication Flex Plugin

Customer Authentication Flex Plugin

By Twilio

  • Flex
  • Verify
  • Twilio
  • Applications

Use this Flex plugin so agents can authenticate customers with SMS one-time passcodes.

Call center security is a known weak spot for many companies. That's because most call centers only identify and do not actually authenticate users when they call. Improve your contact center security with actual authentication!

Learn more about how to set up this plugin in the blog post: How to add customer authentication to Twilio Flex.

flex verify plugin gif

  • Works as an add-on to your existing Flex application.
  • Hosted on Twilio - uses the Twilio runtime for serving the plugin and serverless functions.
  • Uses the Twilio Verify API to send and check SMS one-time passcodes.
  • Based on a sample plugin developed using the Flex Plugin Builder.

Step 1:

To get started you will need the following:

- A Twilio account with a Flex environment provisioned. Create your Flex Account

- Flex Plugins CLI installed on your machine

- Twilio CLI installed on your machine

Step 2:

Configure your local environment to use Flex plugins by using the Flex Plugins CLI

twilio plugins:install @twilio-labs/plugin-flex@beta
twilio flex:plugins:create plugin-verify --template https://github.com/twilio-labs/plugin-verify


Step 3:

Install the dependencies of the plugin. Read more

npm install

Run and test the plugin locally by spinning up a local web-server.

twilio flex:plugins:start

Step 4:

Log into your Flex account via the CLI

twilio login

Visit general usage to learn more about using multiple Flex accounts.

Step 5:

Deploy and enable your plugin for your Flex application

twilio flex:plugins:deploy --major --changelog "Adding plugin-verify via CodeExchange" --description "Deploying plugin-verify via Code Exchange"

twilio flex:plugins:release --name "plugin-verify" --description "Enabling plugin-verify via Code Exchange"--plugin plugin-verify@1.0.0

Don't see what you want? Request a code sample Explore Docs

Questions about scaling, pricing, or which products/features to use? Get a consultation

There was an issue loading the page.

Please try again in some time.