App building in Big Commerce

To create an app in Big Commerce, we need a Developer Portal account to register the draft app and a BigCommerce store to test the installation.

  • Register a draft app in the Developer Portal using the sandbox’s app URL 
  1. Login to the Developer Portal 
  2. Click Create an App 
  3. Give the app a name 
  4. Click Technical 
  5. Enter Auth Callback URL. Ex: https://{{YOUR_FORK}}.sse.codesandbox.io/auth . This url can be obtained from the sandbox environment page.
  6. Enter Load Callback URL. Ex: https://{{YOUR_FORK}}.sse.codesandbox.io/load 
  7. Enter Uninstall Callback URL. Ex: https://{{YOUR_FORK}}.sse.codesandbox.io/uninstall 
  8. Click Update & Close 
  9. Click View Client ID – this is the app’s client_id and client_secret 
  • Configure sandbox environment .After registering the app, enter the app’s credential’s and auth callback into your sandbox’s environment variables (codesandbox.io): 
  1. callback => https://{{YOUR_FORK}}.sse.codesandbox.io/auth 
  2. client_id => the app’s client ID from the Developer Portal 
  3. client_secret => the app’s client secret from the Developer Portal 

This must be added in Sandbox -> server control panel -> secret keys

  • Install the App 
  1. Log in to your store and navigate to Apps > My Apps > My Draft Apps and install the app. 
  2. If everything is configured correctly, you should Receive an Authorization Successful message. 
  3. Navigate back to My Apps to see the list of installed apps. 
  4. Click Launch on the draft app to test the /load callback. 
  5. Navigate back to My Apps and click Uninstall to test the /uninstall callback. 

Leave a comment

Your email address will not be published. Required fields are marked *