Skip to main content

Setup XanoClient

This component is used to configure the Xano Client, enabling your app to establish connections and query your endpoints.

This prefab will not work unless you place one instance of the Setup Xano Client component in your projects Home Component and set the API Group Base URL and Datasource values:

The API Group Base URL can be found here in Xano:

Inputs

DataDescription
API Group Base URLThe base Request URL used to call all the endpoints of the API Groups.
DatasourceThe data environment to be used in your Xano workspace. Defaults to live.
Auth Login PathThe path to the login endpoint. Defaults to /auth/login.
Auth Signup PathThe path to the signup endpoint. Defaults to /auth/signup.
Auth Me PathThe path to the endpoint containing the user information. Defaults to /auth/me

After the Xano Client has been set up you can find all the input values in the following Noodl variables:

  • Noodl.Variables.xanoApiGroupBaseUrl
  • Noodl.Variables.xanoDatasource
  • Noodl.Variables.xanoAuthSignupPath
  • Noodl.Variables.xanoAuthLoginPath
  • Noodl.Variables.xanoAuthMePath

Outputs

SignalsDescription
SuccessSends a signal when the Xano Client initilized successfully.
FailureSends a signal when the Xano Client failed initializing. Outputs the error message in the console.