This repository has been archived by the owner on Aug 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add missing engine pages (#338)
- Loading branch information
Showing
2 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import { Callout } from "@doc"; | ||
import { createMetadata } from "@doc"; | ||
|
||
export const metadata = createMetadata({ | ||
title: "Access Tokens | thirdweb Engine", | ||
description: "Manage API access to your Engine instance.", | ||
}); | ||
|
||
# Access Tokens | ||
|
||
Manage [API](engine/references/api) access to your Engine instance. Access tokens are valid until deleted. | ||
|
||
### Create an access token | ||
|
||
Grant API access to your Engine instance with long-lived access tokens. | ||
|
||
1. Navigate to the [thirdweb dashboard](https://thirdweb.com/dashboard/engine). | ||
1. Select **Access Tokens**. | ||
1. Select **Create Access Token**. | ||
|
||
Provide the header `Authorization: Bearer <access_token>` when calling the Engine API. | ||
|
||
<Callout title="An access token is only shown once!" variant="warning"> | ||
|
||
Securely store access tokens and remove them if they are compromised. | ||
|
||
</Callout> | ||
|
||
### Delete an access token | ||
|
||
1. Navigate to the [thirdweb dashboard](https://thirdweb.com/dashboard/engine). | ||
1. Select **Access Tokens**. | ||
1. Next to an access token, select **... > Delete**. | ||
|
||
## FAQ | ||
|
||
#### How do I generate short-lived access tokens? | ||
|
||
Consider using [Keypair Authentication](/engine/features/keypair-authentication) (advanced feature). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { Callout } from "@doc"; | ||
import { createMetadata } from "@doc"; | ||
|
||
export const metadata = createMetadata({ | ||
title: "Admins | thirdweb Engine", | ||
description: "Manage dashboard access to your Engine instance.", | ||
}); | ||
|
||
# Admins | ||
|
||
Manage [dashboard](https://thirdweb.com/dashboard/engine) access to your Engine instance. | ||
|
||
## Add an admin | ||
|
||
1. Navigate to the [Engine dashboard page](https://thirdweb.com/dashboard/engine). | ||
1. Select the **Permissions** tab. | ||
1. Under **Admins**, select **Add New Admin**. | ||
1. Provide the wallet address owned by the user to add. | ||
|
||
The user with this wallet address can now manage your Engine instance. | ||
|
||
## Remove an admin | ||
|
||
1. Navigate to the [Engine dashboard page](https://thirdweb.com/dashboard/engine). | ||
1. Select the **Permissions** tab. | ||
1. Next to an existing admin, select **... > Remove**. |