Plugging my AWS Amplify Application to GPT Model

Hi all,
I have created my first GPT4 model and I wanted to link my AWS Amplify application to the model.

Has someone already done that and has documentation that could guide me?

Either though using it as an API or embedded page.