Create a new user
Create a new user on the
Pocket Gateway
2 minute read
Create a new user
First, you will need to create a new user and an accompanying account.
Only free and personal accounts are supported!
Onlyfree
and personal
accounts are currently supported. professional
and bespoke
plans are not yet available.
Replace the environment variables with your given and family name, email, and temporary password.
You will be asked to change the password once the user identifies themselves.
|
|
|
|
If your user was created successfully, you should see:
|
|
|
|
-
Make note of the
user_id
, you will need it later! -
free
andpersonal
accounts will automatically create a linked account.
Generate an access token
We’re now going to generate a JWT to authenticate with
the Pocket Gateway
.
|
|
|
|
You should get a response containing the token in the access_token
attribute.
|
|
|
|
Not the most secure option!
This method of generating an access token is not the most secure. We use it here for illustrative purposes; rather if you’re building an application or requesting an access token often, prefer theobject/token/oauth
access flow.
👍 Wonderful! You’ve created a new user on the Pocket Cloud and now have an access token to start deploying resources!
Last modified April 3, 2023: fix ubuntu issues (dc29291)