Set up the SDK
After you have installed the SDK, you first need to set it up.
Last updated
After you have installed the SDK, you first need to set it up.
Last updated
To get started, you have to instantiate and configure the AKKA SDK:
The optional config
parameter can be used to pass custom configuration to the SDK (Currently, only api url can be customized, but in the near future, many personal settings can be made):
The apiUrl
defines which backend should be called. This only has to be edited when accessing a dedicated API endpoint.
SDK uses native Fetch API and in Node.js 16 and lower versions fetch
is not natively included, so it needs to be added manually. To provide access to Fetch API you need to patch global
object using or .
Here is an using cross-fetch: