Please note: this feature is in alpha and needs to be activated by Ably for your account. Please contact us if you would like to try it. 


Two-Factor Authentication (2FA), is an authentication process in which users must use two different 'factors' to verify their identity. At Ably, these two factors are your password (something you know), and a security token that is sent to your phone (something you have).

How do I enable 2FA?

  1. Login.
  2. Navigate to the Ably → My Settings page.
  3. Scroll down to the Two-Factor Authentication (2FA)section, and click on the Set up Two-Factor Authentication button. For security reasons, you will need to re-enter your password. If you have not previously set a password, you will asked to set one.
  4. Select your country, enter your phone number, and click Next.
  5. You'll receive an SMS with a security token. Enter the token and click Enable Two-Factor Authentication.

How do I disable 2FA?

  1. Login.
  2. Navigate to the Ably → My Settings page.
  3. Scroll down to the Two-Factor Authentication (2FA) section, and click on the Disable 2FA button. For security reasons, you will need to re-enter your password.

How do I change my phone number?

To change your phone number simply disable 2FA, and re-enable it again with the new number.


How do I require 2FA for all account users?

As an account owner, you can require 2FA for all account users (Users who have not enabled two-factor authentication will be prompted to do so when they try to access the account).


Note: To require 2FA for the account users, the account owner should have 2FA enabled as well.


  1. Login.
  2. Navigate to the Ably → Account Settings page.
  3. Scroll down to the Authentication Settings section, and toggle the the Require two-factor authentication for all account users option.
  4. Click on the the Save authentication settings button.


How do I disable the 2FA requirement for all account users?

  1. Login.
  2. Navigate to the Ably → Account Settings page.
  3. Scroll down to the Authentication Settings section, and toggle the the Require two-factor authentication for all account users checkbox.
  4. Click on the the Save authentication settings button.