ShipSwiftly - Get started
  • Understanding the code
  • Create your app on AppStoreConnect
  • Setting up Firebase
    • Authentication
  • Setting up revenueCat
  • Setting up the server
    • OpenAI Key
    • Deploy your server
    • Adding Heroku Endpoint to App
  • Setting up cloud functions with firebase
Powered by GitBook
On this page
  1. Setting up the server

Adding Heroku Endpoint to App

PreviousDeploy your serverNextSetting up cloud functions with firebase

Last updated 1 year ago

Head over to Heroku:

Select your app > settings > Scroll to domains

You can find your domain under the red box. Copy it and head over to your app.

In the file AppConfig, Change example.com with your copied domain.

static let endPointOne: String = "example.com/openai/xxx"

Your app can now communicate with OpenAI !

If you need to create custom functions, head over to OpenAIQueries and start customizing your functions. Happy coding !

Heroku
App domain
Logo