Data Sources
Last updated
Last updated
Quick Summary
Data sources are like separate versions of tables that contain different data sets — typically, they are separated into live or production data, and test data. The advantage to using separate data sources is so when you are building or iterating on your backend functionality, your actual live data stays safe. All data sources share the same . They only differ by allowing different copies of the database records.
In Xano, data sources are essentially different sets of tables within your application's database. These data sources are crucial because they provide a way to separate the actual, live data that your business relies on from the data you use for testing or development purposes. This separation is beneficial as it ensures that any changes you make while testing new features do not affect the actual operational data.
Data sources typically have two main variants: live data and test data. You can have as many data sources as you'd like if additional separation makes sense for your backend. Live data is what your application uses in real-time—it’s the actual data that reflects real-world activities. In contrast, test data is used for experimentation and development, allowing developers to try out new features or changes without risking the integrity of the live data. By keeping these data sources distinct, Xano enables businesses to safely innovate and enhance their backend functionality without compromising the data they depend on every day.
When you switch data sources, any action you take in Xano such as running and debugging a function stack will target the selected data source. It is recommended to use a test data source whenever possible to avoid accidentally impacting live application data.
Switch your data source at any time by clicking the data source indicator in the left-side navigation.
This does not impact your live application; only the work you are performing inside of Xano.
If you want your backend to use a different data source by default, select it from the data sources panel and choose . All future activity, unless otherwise specified using one of the alternative methods below, will use the active data source.
Proceed with caution. Changing the active data source can have unintended consequences on your live application. You do not need to change the active data source to work with other data sources in Xano.
When running function stacks in Xano or calling them externally, you can target a specific data source a number of ways. If you do not specify a data source, Xano will use the