Skip to main content
New Hire Training

Configure API settings


  1. Run the project by pressing the green arrow in the top right corner.
  2. Once the app is loaded, click "View App".
  3. In your browser, click "Sign in" at the top right corner.

    Username: MxAdmin

    Password: 1

  4. Click "BYU API Settings" on the left side of the page under "System Settings".
  5. Open a new tab and go to tcm.byu.edu. Click "Sign in" and sign in with your BYU login.
  6. Under "Environment", select "Sandbox".
  7. Click "Create a New Client". Under "App Name", write "LastName Demo Mendix App".
  8. Copy the Client ID, go back to your Mendix app tab, and insert it under "OAuth Configuration".
  9. Go back to the Tyk Credential Manager tab, click "Generate Secret". The secret will only be available once. After you close this pop-up, you will never have access to it again. Because of that, copy and paste this Client Secret to a secure place.
  10. To set the credentials in your app environments, go to Sprintr and view your app's environment details. Go to Model Options > Constants, and look for the ClientId and ClientSecret constants and set those to your client ID and secret. You will need to do this in each environment and then restart the environment for your changes to take effect.
    credentials
    ClientId and ClientSecret in environment constants
  11. Once you have set those constants and restarted your environment the BYU API Settings admin page will look like this.

    NewHireImage3

  12. To set those constants locally, in Studio Pro go to Marketplace modules > BYUOpenAuthentication > _USE_ME > Constants.
Previous Topic
Configure your Mendix project
Next Topic
Call an API
Was this topic helpful?
Thanks for your feedback.