Lattice Sandboxes

Setting up an environment in Lattice Sandboxes

Lattice Sandboxes is a secure, isolated platform for creating environments with simulated data to develop and test your Lattice SDK app. Apps developed on Sandboxes are portable and can be used in other Lattice deployments based on your environment requirements.

Pricing

Lattice Sandboxes environments are provided free of charge. You can make an unlimited number of free API calls to your environment to create, stream, and task entities in Lattice.

Before you begin

Sign in

Open the Lattice Sandboxes dashboard, then do the following:

1For Email, enter the email address you used to request access to the Lattice Developer program.
2

For Password, enter your password.

If this is your first time signing in, use the temporary password provided to you by your Anduril representative. You will need to create and confirm a new password.

3For MFA Token, enter the token you generate using an authenticator app.

After logging in, the dashboard displays all existing environments associated with your account and their status.

Create an environment

To create a new environment, open the Environment Catalog, the do the following:

1

Choose New Environment.

Shows an empty list of environments
2

On the Environment Catalog page, choose Lattice and click Create. You’ll be redirected to the environment creation details page, where you see the status of your environment:

Shows the environment details page
3

Once the state changes to Ready, review the following details:

Resource Endpoint

Use this to launch the Lattice UI or connect to Lattice programmatically.

Lattice Auth Token

This is your environment token. Save this token in addition to the Sandboxes token, to authenticate your requests with the Lattice API.

Lattice User

The user name you use to log in to the Lattice UI.

Lattice Password

The password you use to log in to the Lattice UI.

4

Confirm you have access to your environment by clicking the Lattice URL link, then log in using the provided user name and password.

Restrictions
  • Create up to 2 concurrent environments in Sandboxes.
  • Environments have a maximum lifetime of 12 hours.
  • Environments have a maximum idle lifetime of 2 hours. You must make a network call, or sign in to the Lattice UI to keep your environment active.

Get the tokens

To access your Sandboxes environment, you need two authorization tokens:

  • Sandboxes token — This is your account-level authorization token. Create this token once, then use it to access all of your environments.
  • Environment token — This is your environment-level authorization token. This token is automatically generated when creating a new environment.

Both tokens are required at runtime to interact with Lattice. The Sandboxes Proxy verifies your Sandboxes token, then forwards the request to your environment.

Diagram showing the authorization flow for Lattice Sandboxes.

To create a new Sandboxes token, do the following:

1Open the Account & Security page in Lattice Sandboxes.
2

In the Bearer tokens section, click + New Token:

Shows the Account & Security page where you can create, and manage, your
authorization tokens.
3

On the Create Bearer Token modal, enter the following:

  • Bearer token name — Enter a descriptive name for your Sandboxes token.
  • Bearer token expiration — Select an expiration time frame.
4

Click Create to generate a Sandboxes token, then save your Sandboxes token.

After this step, the Sandboxes token will not be visible again.

What’s next?

  • Continue to set up your development environment.
  • Test your new environment by running the Quickstart guide.
  • Install the Lattice SDK for a protocol and language of your choice to get started developing with Lattice.