Pulumi Playground - Unable to create new pulumi project in pulumi sandbox due to 'invalid access token error'

Unable to create new pulumi project in pulumi sandbox due to ‘invalid access token error’.
Hi community, post logging into the pulumi sandbox and configuring the aws credentials - access key, secret access key, region(us-east-1) and output format, i tried running pulumi new from the terminal.

At first i encountered an error, "
error: /root is not empty; rerun in an empty directory, pass the path to an empty directory to --dir, or use --force"

so i created a new directory, switched to that directory and ran pulumi new --dir /path/to/dir
However, im still facing issue logging in:

controlplane ~/ark_pulumi on :cloud: (us-east-1) ➜ pulumi new Manage your Pulumi stacks by logging in. Run pulumi login --help for alternative login options. Enter your access token from Pulumi Cloud

I’m not sure what access token to use here. Do i need to create a token for myself using " Pulumi Cloud" or can i override this somehow?

Has anybody faced this issue?

Im currently stuck at 'pulumi new ’ due to this issue

Thanks in advance,
Arathy

No I don’t know Pulumi, but given the output of pulumi login --help I would think that you need to perform a local login, since this playground is not associated with any pulumi cloud server.

[PREVIEW] If you prefer to operate Pulumi independently of a Pulumi Cloud, and entirely local to your computer

Reading further in the help message, the implication is that you need to run

pulumi login --local

Set up the AWS credentails

Install the programming language you intend to use first, e.g nodejs (javascript) or python as none of these are pre-installed on the lab terminal

Then follow the steps to create a project

image

And it should work