Tugger normally keeps your synced data in its own databases. For some accounts, Tugger can write a connector's data into your own SQL Server database instead. This article explains how to set it up and what changes.
Note: This option isn't switched on for every account. If you don't see the Data Storage section when you add a connector, contact the Tugger team.
What you'll need
- Connector Write Access
- A Microsoft SQL Server database that Tugger can connect to, with its host name, port, database name, and a username and password
Before you start
- Choose it when you add the connector. You can only tick Store The Data in Your Own Data Warehouse? while you are adding a new connector. Once the connector is created, you can't switch it on or off. To change it, you would need to add the connector again.
- SQL Server only. The only database type you can choose is MSSQL (Microsoft SQL Server).
- Tugger builds the tables. Tugger creates the connector's tables in your database and updates them when the connector changes. The database user you give Tugger therefore needs permission to create and change tables, and to read, write and delete data.
- It isn't available for every connector. Excel Upload and Cash connectors don't offer it.
Setting it up
- Log in to Tugger at tuggerapp.com and start adding your connector as usual. See Setting Up Your First Connector.
- In the Data Storage section, tick Store The Data in Your Own Data Warehouse?
- A second box appears, Do NOT use the Tugger ODATA Feed? Tick it only if you won't connect Power BI, Excel or Tableau to Tugger for this connector (see The Tugger OData feed below).
- Finish the connector's setup. If the app asks you to sign in and allow access, do that as normal.
- The connector's status now shows Pending Data Warehouse Setup. It won't sync until you add your database details. Click the click here link in the status panel, or open the Data Warehouse Settings tab.
- Fill in the form:
- Destination Name - a name to recognise this database, for example "My Data Warehouse"
- Database Type - MSSQL
- Connect Using SSL - tick this to encrypt the connection
- Host - your database server's address
- Database Name - the database Tugger should write to
- Database Username and Database Password - the login Tugger should use
- Port Number - this starts at 1433, the usual SQL Server port. Change it if your server uses another one.
- Click Save.
The connector then becomes Active and starts syncing into your database.
Note: Tugger doesn't test the connection when you click Save, so please check the details carefully. Tugger stores the username and password encrypted.
Changing your database details
Open the connector, go to the Data Warehouse Settings tab, update the details and click Save. Each time the settings are added or changed, it is recorded in your audit log. See Viewing Your Audit Log.
The Tugger OData feed
If you leave Do NOT use the Tugger ODATA Feed? unticked, you can still connect Power BI, Excel or Tableau to Tugger as usual. The feed reads the data from your database. The Report Setup and Report Credentials tabs work as normal. See Using Report Setup and Power BI Templates.
If you tick it:
- The Tugger feed for this connector stops answering requests, so reports that use it can't refresh.
- The Report Setup and Report Credentials tabs are hidden for this connector.
- You report straight from your own database instead.
Unlike the first box, you can change this one later on the connector's Settings tab.
AI Insights
AI Insights reads this connector's data from your database. See What Is Tugger AI Insights?.
Deleting the connector
If you delete a connector that stores its data in your own database, Tugger doesn't delete the tables or data in your database. They stay there for you to keep or remove. See Deleting a Connector.