Configuring Stays as a Source
In the Sources tab, click on the “Add source” button located on the top right of your screen. Then, select the Stays option from the list of connectors. Click Next and you’ll be prompted to add your access.1. Add account access
You’ll need to provide your Stays API credentials. These can be obtained from your Stays account manager or through the Stays developer portal. The following configurations are available:-
API URL: The base URL for the Stays API (e.g.
https://api.stays.net/external/v1). - Username: The username used to authenticate against the Stays API.
- Password: The password used to authenticate against the Stays API.
Advanced settings
- Reservations Export Settings: Configuration for the reservations export stream, including start date, end date, and a lookback window (in days) to re-fetch recently updated reservations.
- Reviews Settings: Requires a separate login for the Stays internal system. Provide the email and password used to access the internal reviews export, along with optional start/end dates and lookback window.
2. Select streams
Choose which data streams you want to sync. For faster extractions, select only the streams that are relevant to your analysis. You can select entire groups of streams or pick specific ones.Tip: The stream can be found more easily by typing its name.Select the streams and click Next.
3. Configure data streams
Customize how you want your data to appear in your catalog. Select the desired layer where the data will be placed, a folder to organize it inside the layer, a name for each table (which will effectively contain the fetched data) and the type of sync.- Layer: choose between the existing layers on your catalog. This is where you will find your new extracted tables as the extraction runs successfully.
- Folder: a folder can be created inside the selected layer to group all tables being created from this new data source.
- Table name: we suggest a name, but feel free to customize it. You have the option to add a prefix to all tables at once and make this process faster!
- Sync Type: you can choose between INCREMENTAL and FULL_TABLE.
- Incremental: every time the extraction happens, we’ll get only the new data.
- Full table: every time the extraction happens, we’ll get the current state of the data.
4. Configure data source
Describe your data source for easy identification within your organization, not exceeding 140 characters. To define your Trigger, consider how often you want data to be extracted from this source. Optionally, you can define some additional settings:- Configure Delta Log Retention and determine for how long we should store old states of this table as it gets updated. Read more about this resource here.
- Determine when to execute an Additional Full Sync.
5. Check your new source
You can view your new source on the Sources page. If needed, manually trigger the source extraction by clicking on the arrow button. Once executed, your data will appear in your Catalog.Streams and Fields
Below you’ll find all available data streams from Stays and their corresponding fields:Reservations Export
Reservations Export
Reservation Details
Reservation Details
Promo Codes
Promo Codes
Reviews
Reviews
Requires separate internal system credentials configured in the Reviews Settings.