Issue linking device on the authorization page via thirdweb cli

Error

How to authorize your account using secretKey for the thirdweb CLI

Solution

You can authorize using a secretKey in your command line.

  1. You need to obtain a secretKey through the thirdweb dashboard. Visit https://thirdweb.com/dashboard/settings/api-keys to do so.

  2. Once you have your key, you can proceed to your terminal and deploy your contract using the following command: npx thirdweb deploy -k secretKey

  3. You can also use other methods like upload, publish, and build using the same format.

That's it! Now you should be able to obtain a link to deploy your contract or perform the requested action.


Can’t get this working? If you’ve followed the above and still have issues, contact our support team for help.