Skip to content

Commit f7cf09b

Browse files
authored
[Portal] Account Docs (#6442)
1 parent dd06be8 commit f7cf09b

38 files changed

+443
-244
lines changed

apps/portal/src/app/account/account-info/page.mdx

Whitespace-only changes.
687 KB
Loading
Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { DocImage, Steps, Step } from "@doc";
2-
import chooseKeyImage from "../assets/choose-key.png";
32
import allowedDomainsImage from "../assets/allowed-domains.png";
4-
import selectEditImage from "../assets/select-edit.png";
53
import { createMetadata } from "@doc";
4+
import AccessRestrictions from "./assets/access-restrictions.png";
5+
import ProjectOverview from "../assets/project-overview.png";
66

77
export const metadata = createMetadata({
88
title: "Access Restrictions",
@@ -24,32 +24,28 @@ To modify the allowed Domain Id or Bundle Ids:
2424

2525
<Steps>
2626

27-
<Step title="Go to Dashboard">
27+
<Steps>
2828

29-
Go to **[thirdweb dashboard](https://thirdweb.com/team)**
29+
<Step title="Select Project">
3030

31-
</Step>
31+
Select the project you want to set access restrictions on from the Overview section of your dashboard.
3232

33-
<Step title="Choose API Key">
34-
Choose the API Key you want to modify restrictions on.
33+
<DocImage src={ProjectOverview} alt="Project Overview" />
3534

36-
<DocImage src={chooseKeyImage} />
3735
</Step>
3836

39-
<Step title="Edit">
40-
Select `Edit` to enter editor mode.
37+
<Step title="Project Settings">
4138

42-
<DocImage src={selectEditImage} />
43-
</Step>
39+
Navigate to the project's settings and locate Domain Restrictions and Bundle ID restrictions. Add the domain or bundle id you want to restrict the project on.
4440

45-
<Step title="Edit Domains">
46-
Enter the allowed domains the "Allowed Domains" field or switch to Bundle IDs to enter allowed Bundle IDs.
41+
<DocImage src={AccessRestrictions} alt="" />
4742

48-
<DocImage src={allowedDomainsImage} />
4943
</Step>
5044

5145
<Step title="Save Changes">
52-
46+
Save your changes to apply the access restrictions.
5347
</Step>
5448

5549
</Steps>
50+
51+
</Steps>
-556 KB
Binary file not shown.
9.75 KB
Loading
568 KB
Loading
-594 KB
Binary file not shown.
Binary file not shown.

apps/portal/src/app/account/api-keys/create/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Input the domains you want to restrict your application to in Allowed Domains th
4646

4747
Store your secret key in a secure location and confirm that you have stored it by checking the checkbox then select Complete.
4848

49-
<Callout variant="warning">
49+
<Callout variant="danger" title="Secret Key">
5050
Do not share secret keys. They grant access to all thirdweb services. Secret
5151
keys should only be used in backend environments like CLI, scripts, and
5252
servers. Never expose secret keys in client-side code due to the lack of
461 KB
Loading

0 commit comments

Comments
 (0)