Connect your Dual organization

Until you connect, your apps run on their demo ledger. Connecting a Dual organization lets them create real templates and objects in it. You need a Dual account and an organization in Dual Console.

Which organization your apps use

When you sign in with your email, Dual Build connects an organization on Sandbox for you. If you belong to none, it makes one in your name. If you belong to any, it asks you to choose: yours is marked Yours, and if you don't own one yet you can create it there. Your choice stays until you change it with Switch organization in this dialog, which asks for your password. What your apps already made stays in the old organization. Your role must allow creating API keys; if it doesn't, ask an admin of that organization or choose another.

Connect with Dual

  1. Select Connect Dual Console in an app's header, in its Dual Console tab, or in Settings.
  2. Choose the network. Sandbox is chosen for you. Mainnet isn't available yet.
  3. Read what Dual Build will be able to do: create and update templates in the organization you choose; mint, update and transfer objects from those templates; read objects, activity and your organization's balance.
  4. Select Continue to Dual Console, choose the organization and approve access there.

You come back to Dual Build connected. Actions your apps take on Dual are charged to that organization's balance; on Sandbox that is test DUAL with no monetary value.

You can also connect when you sign in: under Continue with Dual, tick Also connect an organization on Sandbox.

Use an API key instead

In the same dialog, Use an API key instead connects with a key you create:

  1. Open Dual Console and choose your organization.
  2. On the organization's overview, turn Sandbox mode on, or keep it off for Mainnet.
  3. In your profile menu, open Api keys and choose Create API Key. Under Permissions, allow reading and creating templates, adding faces, reading objects, running actions and reading the organization.
  4. Copy the API Key Secret and paste it in. On Sandbox, also enter the organization ID: the part of Dual Console's address right after the site name.

Dual Build checks the key with Dual and keeps it encrypted. It is never shown again.

When access ends

A connection made with Dual lasts at most 90 days, and the connection shows the date its access ends by. Dual also ends access when it is revoked or your role in the organization changes. Your apps then can't reach Dual until you select Reconnect to Dual.

Disconnect or revoke

  • To disconnect, open the connection (Manage in Settings) and choose Disconnect. Your apps go back to their demo ledger. Templates and objects already created on Dual stay there.
  • A connection made with Dual is revoked in Dual when you disconnect.
  • A pasted key is only forgotten here. Delete it in Dual Console under Api keys as well.
  • To revoke access from Dual's side, select Manage in Connected apps. It opens your organization's Connected apps page in Dual Console.

Switch organization in the same dialog connects a different organization instead.