Skip to main content

Adding Platform Inside Appwrite Cloud

info

In Appwrite, adding a platform inside a project in the console is necessary because it tells Appwrite how your application will interact with its backend services. Each platform (Web, Android, iOS, Flutter, etc.) has specific configurations needed for secure and correct communication.

To add a platform within Appwrite Cloud, follow these steps:

  • Navigate to the Appwrite Console https://cloud.appwrite.io/console and log in to your account.

  • Choose the specific project to which you want to add the platform.

  • From your project's dashboard, locate and select the "Overview" section.

  • In the "Integrations" section of the Overview page, click on the "Add platform" button.

  • A dropdown menu will appear. Select the type of platform you are adding (e.g., Web App, Flutter App, Apple App, Android App).

note

Since our platfrom type is Web app, therefore select Web App .

  • Now select Next.js option.

  • Provide a "Hostname" where your web app will be hosted.

What is hostname?

Hostname will be your app main domain which you have purchased for your app.

For example: mydomain.com etc.

warning

When adding hostname make sure that you have used asterisk sign i.e. * . Because we are also using custom domains and subdomains therefore we need to allow wildcard hostnames or subdomains so that Appwrite does not block them.

  • Then click on Create Platform button.