> ## Documentation Index
> Fetch the complete documentation index at: https://foliant-help.iforiti.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 连接和管理集成

> 连接集成、更改其设置、检查其连接状态以及断开连接。

Foliant 中的每个集成都以相同的方式连接和管理：您可以在 **设置 › 集成** 中连接它，然后在它的页面上更改设置、查看活动以及断开连接。Peppol 电子发票有单独的页面，请参阅[设置 Peppol 电子发票](https://foliant-help.iforiti.com/cn/integrations/peppol-e-invoicing.md)。

![集成页面上的集成卡片](https://mintcdn.com/foliant-dev/AoWxppgqeHqT1nDZ/integrations/images/integrations-catalogue.png?fit=max\&auto=format\&n=AoWxppgqeHqT1nDZ\&q=85\&s=89c680acff341543f0941a9aaf6c9074)

## 开始之前

您的套餐必须包含该集成。如果不包含，其卡片会显示包含它的套餐或附加功能，以及 **查看套餐**。请参阅[已暂停的集成与账单](https://foliant-help.iforiti.com/cn/integrations/paused-integrations-and-billing.md)。

## 连接集成

1. 在 Foliant 中，前往 **设置 › 集成**。
2. 在集成的卡片上，点击 **连接**。您也可以打开集成的页面，在那里点击 **连接**。
3. 在 **连接** 加集成名称的窗口中，填写所需信息（见下文）。
4. 点击 **连接**；对于需要登录的集成，点击 **继续前往** 该服务。

连接成功后，Foliant 会显示一条消息，例如“Webhooks 已连接”，并打开该集成的页面。

### 集成需要的信息

| 集成类型 | 您需要做什么 |
| - | - |
| 登录其他服务 | “您将登录”该服务“并选择要连接的账户。”点击 **继续前往** 该服务，在那里登录并授权。完成后您会返回 Foliant。 |
| API 密钥 | 粘贴您在该服务账户中的 API 密钥。 |
| 设置表单 | 输入所需的详细信息，然后点击 **连接**。 |
| 无需填写 | 点击 **连接** 即可为您的商店启用。 |

您必须先填写必填字段才能连接：“请填写此项以继续。”密钥和签名密钥等机密值会加密存储，之后不会再显示。

如果连接失败，Foliant 会在窗口中显示问题，例如“无法连接。请检查详细信息后重试。”如果您登录了其他服务但未成功，集成页面会显示一个横幅，说明未连接及原因。

## 集成页面

从其卡片（**管理**）或点击其名称打开。

| 部分 | 显示内容 |
| - | - |
| 页眉 | 类别、已连接账户的名称、状态；如果处于测试阶段，还会显示 **测试版** 徽章。如有帮助页面，**帮助文章** 会将其打开。 |
| **本周期用量** | 适用于有每月额度的集成：显示您已使用的用量。 |
| **设置** | 集成的设置。**已检查** 徽章显示 Foliant 上次确认连接正常的时间。 |
| **活动** | Foliant 通过该集成发送的内容。请参阅[集成活动](https://foliant-help.iforiti.com/cn/integrations/integration-activity.md)。 |
| **连接** | 所连接的账户、其 ID、状态、连接时间以及上次检查时间。 |
| **账单** | 包含该集成的套餐或附加功能、价格、每月额度以及超出后的价格。 |
| **断开连接** | 断开该集成的连接。 |

## 更改设置

1. 打开集成的页面。
2. 更改 **设置** 中的字段。此时会出现保存栏。
3. 点击 **保存**。

如需保留已保存的值，请将机密字段留空：字段会显示“已保存。留空即可保留。”

## 页面上的横幅

| 横幅 | 您需要做什么 |
| - | - |
| “正在等待”该服务“确认连接。” | 无需操作。服务确认后即会连接。 |
| **需要处理** | 阅读横幅中的原因并加以解决。点击 **重新连接** 再次连接。 |
| **已暂停** | 在恢复之前，该集成不会发送任何内容。请参阅[已暂停的集成与账单](https://foliant-help.iforiti.com/cn/integrations/paused-integrations-and-billing.md)。 |

Foliant 会定期检查每个连接。如果检查失败，该集成会显示 **需要处理**，直到恢复正常。

## 断开集成

1. 打开集成的页面。
2. 在 **断开连接** 中，点击 **断开连接** 加集成名称。
3. 点击 **断开连接** 确认。

Foliant 将停止向该集成发送任务。您的套餐和附加功能保持不变，因此在您移除附加功能之前，仍需为其付费。您可以随时重新连接该集成。

## 相关文章

* [浏览集成](https://foliant-help.iforiti.com/cn/integrations/integrations-catalogue.md)
* [集成活动](https://foliant-help.iforiti.com/cn/integrations/integration-activity.md)
* [已暂停的集成与账单](https://foliant-help.iforiti.com/cn/integrations/paused-integrations-and-billing.md)
* [向您自己的系统发送 Webhooks](https://foliant-help.iforiti.com/cn/integrations/webhooks.md)
* [将已开具的发票保存到 Google Drive 或 Dropbox](https://foliant-help.iforiti.com/cn/invoices-and-numbering/cloud-archive.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.