Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
chore: add missing engine pages (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
arcoraven authored Apr 12, 2024
1 parent 03b41a7 commit 5ecb73b
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
39 changes: 39 additions & 0 deletions src/app/engine/features/access-tokens/page.mdx
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).
26 changes: 26 additions & 0 deletions src/app/engine/features/admins/page.mdx
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**.

0 comments on commit 5ecb73b

Please sign in to comment.