Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions studio/guides/advanced/safety/preventing-abuse.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ title: Preventing Abuse

At Botpress, we prioritize the security and integrity of your bots by implementing a range of robust measures to counteract fraud and malicious usage. Our strategy includes:

### Rate Limits
### Rate Limits {<Tooltip tip="This feature requires a Botpress Team plan or higher."><Badge stroke color="green">Team</Badge></Tooltip>}

Rate limits serve as a fundamental safeguard for your bot's resources. Each bot is assigned a maximum rate of messages it can process per second. For users on the "Team" plan, a higher rate limit is applied. Enterprise customers can further customize these limits to align with their specific requirements.

Rate limiting prevents the excessive influx of messages, ensuring that your bot operates efficiently and consistently. This is an essential component of our abuse prevention strategy.

### Allowed Origins
### Allowed Origins {<Tooltip tip="This feature requires a Botpress Team plan or higher."><Badge stroke color="green">Team</Badge></Tooltip>}

Allowed Origins is a feature that lets you explicitly control where your bot is allowed to run by specifying a whitelist of approved domains. When deploying your bot on a website, you include only the domains that you trust, and the system automatically blocks any attempts to embed the bot from unapproved sources. This straightforward, security-first approach not only minimizes the risk of unauthorized use but also aligns with best practices for maintaining a secure, controlled deployment environment.

Expand Down
20 changes: 20 additions & 0 deletions webchat/get-started/configure-your-webchat.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -272,3 +272,23 @@ Session storage creates a new user and conversation each time the page is re-ope
You can [learn more about local and session storage here](https://www.geeksforgeeks.org/javascript/difference-between-local-storage-session-storage-and-cookies/).

</Note>

### Advanced settings

You can also access the following advanced settings:

#### Client ID

The client ID is used to identify your bot's Webchat instance. You can use it when building with our [Webchat React library](/webchat/react-library/get-started).

#### Allowed origins {<Tooltip tip="This feature requires a Botpress Team plan or higher."><Badge stroke color="green">Team</Badge></Tooltip>}

The **Allowed Origins** setting lets you manage which domains are allowed to access Webchat.

By default, this is set to **All Origins**. To restrict the allowed origins:

<Steps>
<Step>Select **Whitelist**.</Step>
<Step>Select **+ Add Origin**.</Step>
<Step>Type the domain you want to allow, then select **Publish Changes**.</Step>
</Steps>