Rutter Link Sandbox

Testing Link in Rutter Sandbox

The sandbox environment makes it easy to test out the Rutter Link authentication flow. Be sure you've read through Introduction to Link to get an overview on how it works.

To test Rutter Link, pass in your sandbox public key which you can find on your Rutter Dashboard:

const rutterInstance = Rutter.create({
  publicKey: "sandbox_pk_.....",
  onSuccess: function (publicToken) {
    // Send publicToken to your backend and exchange
    console.log("public token: " + publicToken)
  onError: function (error) {

//{platform: ""})

In the Rutter Link popup, select a platform (ex. Shopify) and enter any store info into the text boxes (it doesn't matter what you enter in the sandbox environment) to simulate a successful connection. You will then receive a public token that you can use to exchange for an access token and fetch data from that connection.