For Devs

Setting Login Credentials

To save you the hassle of entering login credentials each time, you can put your account SID and auth token within the code. To do this:

  1. Navigate to ./ui/reactui/src/pages/login.js
  2. Edit this.state to include your Twilio account credentials:
constructor(props) {
    super(props)
    this.state = {
        processing: false,
        twilioAccountSid: "TWILIO_ACCOUNT_SID",
        twilioAuthToken: "TWILIO_AUTH_TOKEN",
        valid: true,
    }
}

Now, you can quickly enter the app by clicking ‘Log In’ without entering any credentials!