Getting Started¶
The Appwrite SDK for Headless Godot automatically intializes itself using values from .env. You can also set them at runtime using the set_endpoint(), set_project(), set_key() and set_self_signed() methods.
Refer to Configuration guide for detailed information on how to configure the SDK.
Requirements¶
- Godot 4.x
- An Appwrite Cloud or self-hosted Appwrite server
Installation¶
- Open the Asset store
- Search for Appwrite server SDK.
- Download and extract the zip.
- Copy the addons/ and .enn.example to root of your project.
- Enable the plugin from Project -> Project Settings -> Plugins.
Create an Appwrite Project¶
- Sign in to your Appwrite Console.
- Create a API key.
- Fill details
- Select the Scopes for this API key.
- Copy the Endpoint URL and API Key from API info section.
Configure the SDK¶
Configure the SDK using either of the following methods:
* Recommended: Create a .env file at root containing you Appwrite configuration.
* Alternative: Set the values at runtime.
Refer to Configuration guide for detailed information on how to configure the SDK.