> For the complete documentation index, see [llms.txt](https://docs.docbits.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.docbits.com/chinese/guan-li-yu-she-zhi/settings/global-settings/integration/best-practices.md).

# 最佳实践

配置和维护集成设置的最佳实践有助于确保 DocBits 与身份服务提供商（IdP）之间集成的效率、安全性和可靠性。

**以下是一些最佳实践：**

* **定期检查设置：** 定期检查集成设置，确保所有配置正确且为最新状态。系统或策略发生变化时，可能需要更新集成。
* **证书和元数据更新：** 监控 SAML 证书和元数据的到期日期，并及时更新，以避免服务中断。使用自动化流程或提醒，确保不会遗漏任何到期日期。
* **谨慎管理凭据：** 对 API 密钥或证书等凭据严格保密，并防止其遭到未经授权的访问。使用安全的方法存储和交换凭据，以确保集成的完整性。
* **记录变更并进行日志记录：** 在详细文档中记录所有集成设置变更并进行日志记录。这样可以跟踪变更，并在需要时恢复到之前的配置。
* **培训管理员：** 确保负责配置和维护集成设置的管理员具备必要的知识和技能。提供培训和资源，确保他们理解并能够落实集成最佳实践。
* **设置提醒和通知：** 针对证书到期或身份验证失败等关键事件配置提醒和通知。这样可以及早发现潜在问题并主动处理。

遵循这些最佳实践，可以确保 DocBits 与身份服务提供商之间的集成顺畅、安全，并满足组织的需求。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.docbits.com/chinese/guan-li-yu-she-zhi/settings/global-settings/integration/best-practices.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
