How Do I Switch Between Leap Projects in an IDE?

Note: You must have a valid session token or run dwave auth login within the past 20 minutes.

If you have more than one Leap™ project (such as a free developer account or other paid Leap account), you can change projects from directly in your IDE's terminal as follows:

  1. See a list of available Leap projects to choose from by typing dwave leap project ls and pressing Enter.
    A list of your projects and their corresponding three- or four-character codes are displayed.
  2. Switch to another project by copying the project's code into the following command and pressing Enter:
dwave config create --auto --project code

A confirmation displays that your designated solver API token was fetched and a new configuration was saved. You can now submit your problems to that project.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.