# AppFlowy + OpenAI

Bring the power of the next-generation AI into your AppFlowy pages, supercharging productivity!

OpenAI is a research organization, known for developing several cutting-edge AI systems, such as GPT (Generative Pre-trained Transformer) and DALL-E.

### What are the current functions of OpenAI in AppFlowy?

* **OpenAI Writer**: Ask AI to write anything for you. Let AI draft it for you whenever you're starting something new.
* **Summarize**: Auto-generate a nice summary for an article, your proposal, or anything else.
* **Fix spelling**: With one click away, catch and fix misspelled words instantly.
* **Improve Writing**: There is no need to switch between different tools; simply highlight the text and ask AI to quickly transform it into something better and more suitable for the task.
* **Make longer:** AI will automatically rewrite its response with more copy

### What's coming up next?

* Make a to-do list
* Make shorter
* Text-to-image generator
* Integrate more AI service providers
* And many more to come!

### How to get started?

1. You’ll need an [OpenAI](https://openai.com/) account and an API key. You can sign up [here](https://platform.openai.com/signup). It offers a FREE trial.
2. After creating an account, you can create a secret API key [here](https://platform.openai.com/account/api-keys).

<figure><img src="https://1003959744-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvs4LQcuzr0JR34ApS5sM%2Fuploads%2FwyFuP6uZmKzuz5KKRxnH%2Fimage.png?alt=media&#x26;token=87123b5e-aea3-47d2-bd27-62311efc4d21" alt=""><figcaption></figcaption></figure>

3. Copy the secret key --> Go to Settings --> Users --> OpenAI Key --> Enter your API key

<figure><img src="https://1003959744-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvs4LQcuzr0JR34ApS5sM%2Fuploads%2F8oahnJNmYOOj8XGvJQIm%2Fimage.png?alt=media&#x26;token=7de40936-fb61-4bba-bbba-3864084c4e7b" alt=""><figcaption></figcaption></figure>

4. Restart AppFlowy
5. Type the slash `/open` command to use `OpenAI Writer`

<figure><img src="https://1003959744-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvs4LQcuzr0JR34ApS5sM%2Fuploads%2FjBNynSul6wk1BH9jkKzm%2Fimage.png?alt=media&#x26;token=9839a9dc-20b8-4f5f-9870-16ab85b3a09e" alt=""><figcaption></figcaption></figure>

6. Highlight text to trigger the toolbar menu and then click on the 💡 icon to use `Summarize`, `Fix spelling`, and `Improve Writing`.

<figure><img src="https://1003959744-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fvs4LQcuzr0JR34ApS5sM%2Fuploads%2FlQ1rGtHZ7bJiDGYtXZNy%2Fimage.png?alt=media&#x26;token=79886c58-f56e-4408-95e4-8fdea50781d6" alt=""><figcaption></figcaption></figure>

### What are ways I can use OpenAI in AppFlowy?

People who embrace the latest AI technologies will quickly gain an edge.

1. Get your questions answered instantly within the app
2. Ask AI to write anything for you and brainstorm ideas
3. Summarize notes and articles to save time
4. Fix spelling to polish your writing

<mark style="color:red;">Warning: AI responses can be misleading, inaccurate, or biased.</mark>

### What about privacy?

AppFlowy, the application, sends the encrypted HTTPS requests with data that the user explicitly provided for making OpenAI API calls listed below to only one domain, openai.com. The OpenAI [features](#what-are-the-current-functions-of-openai-in-appflowy) only connect to the specified domain: openai.com

Here are the OpenAI API calls triggered by our OpenAI [features](#what-are-the-current-functions-of-openai-in-appflowy):

* <https://api.openai.com/v1/edits>
* <https://api.openai.com/v1/completions>

The OpenAI key you provided in `Settings` is stored on your local device where you installed AppFlowy.

Since AppFlowy is 100% open-source, you can confirm our practices via the [codebase.](https://github.com/AppFlowy-IO/AppFlowy)

We encourage AppFlowy users to review how [OpenAI](https://openai.com/) handles their data before using their services.

### How can I provide feedback or help?

1. You can report bugs and submit feature requests via [GitHub Issues](https://github.com/AppFlowy-IO/AppFlowy/issues/new/choose)
2. If you would like to get support or create a discussion, please join our [Discord](https://discord.gg/9Q2xaN37tV) server
3. Please share with us how you benefit from the OpenAI features in AppFlowy on [GitHub Discussions](https://github.com/AppFlowy-IO/AppFlowy/discussions)
