> 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/infor-ji-cheng-yu-pei-zhi/exporting-to-infor/creating-an-ion-api-file.md).

# 创建 ION API 文件

## 获取现有 ION API 文件/创建新的 ION API 文件

此文件在 INFOR ION API → Authorized Apps 中创建，页面应显示类似下方的应用

![](https://lh7-us.googleusercontent.com/Lpl5VZkrSk9u04C7SWTmfDVbQpRTxSMEE3i2S2Ry_TDZ9mYJMt6UkzTPw5ApaVIEhzpUmpnffntqXowMlhib8LqIRWgpEYlepZlPyqGFNTTn7z--owAFltp9YfD1Si1SbAAX0c0EHvKrIkb0kK1GboQ)

如果没有，则需要创建新的 Authorized App。点击加号即可创建

![](https://lh7-us.googleusercontent.com/y0G9v9WfKlQWCkMy7wmNp59PpUr9AOecJy5zThtVJ5rh09eyH1WkheONuNciZ1pj7-nHKpFSSUjuzYcCe3xE9qrZZcl3IEKeqUWn9h0LSQIF4WJhNDwM9xLaSYskDO4ci2qi3zXPLLl_nPX8GL2UTK4)

输入新 Authorized App 的名称（DocBits\_\*Environment\*）和类型（视具体情况而定）后，系统会带您进入一个页面，Client ID 和 Secret 已自动生成。

填写的信息应与上方所示类似。请务必启用页面底部的 “Issue Refresh Tokens” 滑块。

![](https://lh7-us.googleusercontent.com/FevNa7kQ-rCicUxacuCe7m4XHsLOsYYCRq4JAQ3xDTYPxfq3mg5m2BwWF8iz7ASdNS93sgc1t8gJvnNupCDzQPbUu1NpCu4MHxKGBi6OtyDs7ep2TrsaP3gEXHgMsKzHVQ6JbNc2exbdJ41l_0a7SCA)

点击 “Download Credentials” 下载 ION Mapping File。

![](https://lh7-us.googleusercontent.com/rf0BjR-d15LYj98tRJbMClAqtKAqhQdChgsxKS2Ndl-qhquZELEK66WjREvqDcCCj2UlZYK1i-ntNMtzrN_Kpv1572tqMvWEld8tBDlAzuqz9ocXssiGXFCRnbyH2baWOiBH_27cpVV3vFUP_5CJ1xI)

## 将文件上传到 DocBits

从 Infor 下载 ION API 文件后，可以前往 Settings → Document Processing → Export 上传，页面如下所示

![](https://lh7-us.googleusercontent.com/ONyqYFVhCO3PTyBM6Y-OLrwdXGSQgYBoq4M-7Uof7XKjNhYvemhbjtjcgT4mKZ2-dVc4TWkesSgOWwXGf_a4xLj0X27Y7ZloQSwTD0ey1yIUBNkkvcTX8rf6l24ljltClVoVCJlUWsyVxmzMhWdLDnI)

\\


---

# 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/infor-ji-cheng-yu-pei-zhi/exporting-to-infor/creating-an-ion-api-file.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.
