Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

API docs improvments

Steven Tey472af63e6be8
diff --git a/apps/docs/api-reference/tokens.mdx b/apps/docs/api-reference/tokens.mdx
index 9a47cd79ab..e0dc2ff994 100644
--- a/apps/docs/api-reference/tokens.mdx
+++ b/apps/docs/api-reference/tokens.mdx
@@ -31,6 +31,15 @@ Depending on your use case, you might want to use one of these 3 options to limi
On Dub, you can create API keys that are associated with a "Machine user". This is particularly helpful when you don't want to associate the API key with a particular user in your workspace, to avoid security risks in involving turnover or changes in project ownership.
+<Frame>
+ <img
+ src="/images/api-machine-users.png"
+ alt="Creating an API key associated with a machine user on Dub"
+ width="1528"
+ height="974"
+ />
+</Frame>
+
These machine users will show up on your workspace's **People** tab, but will not contribute to your workspace's user count.
<Frame>
diff --git a/apps/docs/images/api-machine-users.png b/apps/docs/images/api-machine-users.png
new file mode 100644
index 0000000000..7de0ccbcf3
Binary files /dev/null and b/apps/docs/images/api-machine-users.png differ
diff --git a/apps/web/app/app.dub.co/(dashboard)/settings/tokens/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/settings/tokens/page-client.tsx
index 26cee71445..bb29337fe3 100644
--- a/apps/web/app/app.dub.co/(dashboard)/settings/tokens/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/settings/tokens/page-client.tsx
@@ -39,7 +39,14 @@ export default function TokensPageClient() {
Workspace API Key
</a>{" "}
for more granular control over your resources such as Links, Tags,
- Domains, Analytics, etc.
+ Domains, Analytics, etc.{" "}
+ <a
+ href="https://dub.co/blog/workspace-api-keys"
+ target="_blank"
+ className="font-medium underline underline-offset-4 hover:text-black"
+ >
+ Read the announcement.
+ </a>
</AlertDescription>
</Alert>