# Kintone with Azure OpenAI

**URL:** <https://forum.kintone.dev/t/kintone-with-azure-openai/1150>\
**Category:** General\
**Created:** [October 29, 2024, 6:26am UTC](https://forum.kintone.dev/t/kintone-with-azure-openai/1150 "2024-10-29T06:26:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mpumuro](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/mpumuro/32/702_2.png) [@Mpumuro](https://forum.kintone.dev/u/Mpumuro)\
**Post date:** [October 29, 2024, 6:26am UTC](https://forum.kintone.dev/t/kintone-with-azure-openai/1150/1 "2024-10-29T06:26:31Z")

</div>

how should i use the kintone app to create an app that inputs text, runs the summary using AOAI, and outputs it

---

<div class="post-metadata">

**Author:** ![Chris](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/chris/32/44_2.png) [@Chris](https://forum.kintone.dev/u/Chris)\
**Post date:** [October 29, 2024, 6:05pm UTC](https://forum.kintone.dev/t/kintone-with-azure-openai/1150/2 "2024-10-29T18:05:48Z")

</div>

Hello @Mpumuro

Welcome back to the community! 😃

I couldn’t find the same article in English, but there’s a Japanese article on the official Cybozu Developer Network titled [Integrate Azure OpenAI into a Kintone Summary Plugin](https://cybozu.dev/ja/id/cfe170e8c494fa8ce76bc20a/). This article demonstrates how to create an app that integrates Azure OpenAI into a Kintone plugin to summarize text.

In short, when a user adds a record—such as meeting notes—in the Kintone app, the plugin sends the content to Azure OpenAI via API. Azure OpenAI then summarizes the notes and returns the summary to Kintone, allowing the user to review it.

This might be a helpful reference for what you’re looking to accomplish.

---

<div class="post-metadata">

**Author:** ![Danny](https://avatars.discourse-cdn.com/v4/letter/d/848f3c/32.png) [@Danny](https://forum.kintone.dev/u/Danny)\
**Post date:** [October 29, 2024, 6:17pm UTC](https://forum.kintone.dev/t/kintone-with-azure-openai/1150/3 "2024-10-29T18:17:23Z")

</div>

Hello @Mpumuro

Thank you for your question, welcome.

I'll will add on here to Chris's response. As Chris stated, the help page he is referring to is only in Japanese so I have broken it down a bit for those who are more confident in English.

Kintone offers a summary plugin which will take text that has been input, then run it through _ **Azure OpenAI,** _ which will then summarize and output the text.

The majority of the following help pages for setting up the process are only available in Japanese, however feel free to use an extension to translate the webpage.  
I will walk you through the process of getting everything setup.

This is the webpage I will be referring to.  
_**Incorporating Azure Open AI into Kintone Summary Plugin (Japanese)**_

> **[Azure Open AIでkintone 要約プラグインに組み込む](https://cybozu.dev/ja/kintone/tips/development/3rd-party-services/microsoft/azure-open-ai-plugin/)**
>
> Azure Open AIをkintoneプラグインに組み込む方法を紹介します。

_ **What you'll need** _  
Azure account  
Kintone developer license (which is free) _**(Japanese)**_

> **[kintone 開発者ライセンス（開発環境）](https://cybozu.dev/ja/kintone/developer-license/)**
>
> kintoneの開発案件に関わる方に便利な無料の開発環境です

_ **Set up the external services to be linked.** _  
Configure the Azure OpenAI Service, with the external service that you want to link to.  
_**Create and deploy an Azure OpenAI Service resource (English):**_

> **[How-to: Create and deploy an Azure OpenAI Service resource - Azure OpenAI](https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/create-resource?pivots=web-portal)**
>
> Learn how to get started with Azure OpenAI Service and create your first resource and deploy your first model in the Azure CLI or the Azure portal.

Then, check the following Azure Open API specification to make sure you can call the API with the curl command.  
_**Azure OpenAI Service REST API reference (English)**_

> **[Azure OpenAI Service REST API reference - Azure OpenAI](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference)**
>
> Learn how to use Azure OpenAI's REST API. In this article, you learn about authorization options, how to structure a request and receive a response.

_ **Install the Plugin** _  
Download the following Github repository to a directory of your choice.

> **[GitHub - kintone-samples/sample-AI-plugin](https://github.com/kintone-samples/sample-AI-plugin)**
>
> Contribute to kintone-samples/sample-AI-plugin development by creating an account on GitHub.

Once you have moved to the downloaded folder, run the commands in the README.md in the Github repository to create a zip file of the plugin.  
Once the zip file has been created, add it to kintone. Please refer to the following help page for instructions on how to add it:  
_**Adding/Deleting Plug-Ins (App Settings):**_  
[https://get.kintone.help/k/en/id/040566.html](https://get.kintone.help/k/en/id/040566.html)

_ **Explanation of sample code:** _  
Please be aware there are parts of the plugin code that you will need to check and modify.

> <https://github.com/kintone-samples/sample-AI-plugin/blob/main/src/ts/desktop/hooks/useAzureOpenAi.tsx>

_ **Operation check:** _  
And finally you'll want to check to make sure the plugin is configured correctly.  
Enter some text that you want the AI ​​to summarize, then check to see if AI can summarize it.

I hope this helps.
