Loading...
Loading...
Compare original and translation side by side
---
title: "How to [achieve specific goal]"
description: "Learn how to [goal] using [product/feature]"
------
title: "How to [achieve specific goal]"
description: "Learn how to [goal] using [product/feature]"
---undefinedundefinedundefinedundefinedundefinedundefined### 3. Save the configuration
Click **Save**. You should see a success message: "Configuration updated."### 3. Save the configuration
Click **Save**. You should see a success message: "Configuration updated."| Avoid (product-centric) | Prefer (user-centric) |
|---|---|
| "The API accepts..." | "Send a request to..." |
| "The system will..." | "You'll see..." |
| "This feature allows..." | "You can now..." |
| 避免(产品视角) | 推荐(用户视角) |
|---|---|
| "The API accepts..." | "Send a request to..."(向...发送请求) |
| "The system will..." | "You'll see..."(你将看到...) |
| "This feature allows..." | "You can now..."(你现在可以...) |
undefinedundefinedundefinedundefined<Steps>
<Step title="Create a new project">
Navigate to the dashboard and click **New Project**.
</Step>
<Step title="Configure settings">
Enter your project name and select a region.
</Step>
<Step title="Deploy">
Click **Deploy** to launch your project.
</Step>
</Steps><Steps>
<Step title="Create a new project">
Navigate to the dashboard and click **New Project**.
</Step>
<Step title="Configure settings">
Enter your project name and select a region.
</Step>
<Step title="Deploy">
Click **Deploy** to launch your project.
</Step>
</Steps><CodeGroup>
```bash npm
npm install @company/sdkyarn add @company/sdkpnpm add @company/sdk<CodeGroup>
```bash npm
npm install @company/sdkyarn add @company/sdkpnpm add @company/sdk<Warning>
This action cannot be undone. Make sure to backup your data first.
</Warning>
<Note>
This step may take 2-3 minutes to complete.
</Note>
<Tip>
You can also use keyboard shortcut Cmd+K for faster navigation.
</Tip><Warning>
This action cannot be undone. Make sure to backup your data first.
</Warning>
<Note>
This step may take 2-3 minutes to complete.
</Note>
<Tip>
You can also use keyboard shortcut Cmd+K for faster navigation.
</Tip><Expandable title="Advanced options">
If you need custom configuration, you can also set:
- `timeout`: Request timeout in milliseconds
- `retries`: Number of retry attempts
</Expandable><Expandable title="Advanced options">
If you need custom configuration, you can also set:
- `timeout`: Request timeout in milliseconds
- `retries`: Number of retry attempts
</Expandable>---
title: "How to set up webhook notifications"
description: "Learn how to configure webhooks to receive real-time event notifications"
------
title: "How to set up webhook notifications"
description: "Learn how to configure webhooks to receive real-time event notifications"
---```
https://your-domain.com/webhooks/receiver
```
<Note>
Your endpoint must use HTTPS and be publicly accessible.
</Note>- `user.created` - New user sign up
- `payment.completed` - Successful payment
- `subscription.cancelled` - Subscription ended
Select at least one event to continue.<Warning>
Store the signing secret securely. It won't be shown again.
</Warning>```
https://your-domain.com/webhooks/receiver
```
<Note>
Your endpoint must use HTTPS and be publicly accessible.
</Note>- `user.created` - New user sign up
- `payment.completed` - Successful payment
- `subscription.cancelled` - Subscription ended
Select at least one event to continue.<Warning>
Store the signing secret securely. It won't be shown again.
</Warning>{
"event": "test.webhook",
"timestamp": "2024-01-15T10:30:00Z",
"data": {}
}{
"event": "test.webhook",
"timestamp": "2024-01-15T10:30:00Z",
"data": {}
}| User's mindset | Doc type | Example |
|---|---|---|
| "I want to learn" | Tutorial | "Getting started with our API" |
| "I want to do X" | How-To | "How to configure SSO" |
| "I want to understand" | Explanation | "How our caching works" |
| "I need to look up Y" | Reference | "API endpoint reference" |
| 用户心态 | 文档类型 | 示例 |
|---|---|---|
| "我想要学习" | 教程 | "Getting started with our API"(API入门) |
| "我想要完成X操作" | 操作指南 | "How to configure SSO"(配置SSO) |
| "我想要理解原理" | 说明文档 | "How our caching works"(缓存机制说明) |
| "我需要查询Y信息" | 参考文档 | "API endpoint reference"(API端点参考) |