Files
noodl-docs/_prefab-docs-boilerplate/docs-starter/markdown/components/setup-my-prefab/README.md
2023-12-12 13:52:28 +01:00

2.1 KiB

title, hide_title
title hide_title
My Prefab - Setup true

My Prefab - Setup

This component is used to configure My Prefab, enabling your app to establish connections and query your endpoints.

This prefab will not work unless you place one instance of the My Prefab - Setup component in your projects Home Component and set the API Key and Datasource values:

Below is how Inputs and Outputs should be documented. Please note the CSS classes attached to each key in the table, as well as the tables titles.

Inputs

Data Description
API Key The base Request URL used to call all the endpoints of the API Groups.
Datasource The data environment to be used in your Xano workspace. Defaults to live.

Outputs

Data Description
Status The status of the prefab initialization. Can be unloaded, loading or loaded.
Signals Description
Success Sends a signal when the Xano Client initilized successfully.
Failure Sends a signal when the Xano Client failed initializing. Outputs the error message in the console.