Web - Custom GPT connection to paraphrase text

Hello,
I would like to ask, how to connect my custom GPT with my web. The goal is to take text, that is entered by a human into the textare on the web page, send it to custom GPT throught API, GPT will paraphrase it and will send it right back to the webpage.

You would need to create an Assistant. GPTs cannot be used outside of ChatGPT.

https://platform.openai.com/docs/assistants/overview

To add to this, create an Assistant programmatically and save off the assistant id. Then use the assistant id wherever you like.