How it works
Snowflake is where many companies store their business data, like sales, customers, and product usage. Connect Snowflake to your Zite app to pull that data in and show it to your team. You connect Snowflake once, and your app uses that connection. People using your app don’t need a Snowflake account. By connecting Snowflake, your app can:- Show data from the databases you choose
- Display metrics and KPIs your team already tracks in Snowflake
- Add, edit, and delete data (only if you turn this on)
Before you start
You’ll need:- Someone with admin access to Snowflake, available for about 5 minutes. If that’s not you, plan to do the setup together.
- The name of your warehouse. This is what runs your queries in Snowflake. Not sure? Ask your Snowflake admin, or look under Admin → Warehouses in Snowflake.
- The names of the databases you want your app to use.
How to integrate Snowflake into your app
1
Open the Snowflake connection
Ask Zite to connect your app to Snowflake in the chat box. Alternatively, click + in the chat box, select Integrations, then choose Snowflake.If you’ve connected Snowflake before, select that existing connection and click Save. You’re done. Creating a new connection instead can disconnect your other apps.
2
Choose what your app can use
- Databases: Type the databases your app can use, separated by commas. For example:
ANALYTICS, SALES - Access: Choose Read only to just show data. Choose Read and write if your app needs to add, edit, or delete data.
- Warehouse: Type the name of your warehouse. New Snowflake accounts usually have one called
COMPUTE_WH.
ZITE_SERVICE and the role ZITE_APP. Each extra connection adds _2, _3, and so on to both.3
Run the setup code in Snowflake
Zite shows you a block of setup code. This code gives Zite access to the databases you chose, and nothing else.
- Click Open in Snowsight (Snowflake’s website), or copy the code and paste it into a new worksheet in Snowflake.
- At the top of the worksheet, make sure your role is set to ACCOUNTADMIN.
- Click the arrow next to Run and choose Run all. Clicking just Run only runs one line, and setup won’t finish.
- When it finishes, Snowflake shows a web address that looks like
https://yourcompany-account.snowflakecomputing.com. Copy it.
4
Paste the address and connect
Go back to Zite, paste the address, and click Test & connect.Zite checks that everything is set up correctly before saving. If something’s missing, it tells you what to fix.
5
Describe your use case
Tell Zite what you want your app to do. For example, “Show our monthly sales from the ANALYTICS database” or “Let the team look up customer records and update their status.”Zite can see which tables and data are available, so you don’t need to know the exact names.
6
Test and publish
Test the Snowflake features in your app to make sure everything works as expected.Click
Publish in the upper right corner to deploy your changes and make the Snowflake integration available in your live app.Common use cases
With a Snowflake connection, you can create apps like:- Dashboards: Show sales, revenue, or usage metrics from Snowflake
- Lookup Tools: Let your team search for customers, orders, or accounts
- Internal Data Apps: Give your team an easy way to see data that’s already in Snowflake
- Data Editors: Let your team update records directly (requires Read and write)
Important notes
- Costs: Each time your app pulls data, Snowflake briefly runs your warehouse and charges for it. To keep costs down, ask Zite to reuse results instead of fetching fresh data every time.
- Who your app connects as: Your app always uses the connection you set up, not the Snowflake login of the person using the app.
- What your app can change: With Read only, your app can only view data. With Read and write, it can add, edit, and delete data. Your app can never create or delete databases or tables, or change who has access in Snowflake.
- Slow requests: If a request takes longer than 60 seconds, it stops automatically.
Troubleshooting
Zite can't see any tables
Zite can't see any tables
Check that your database names are spelled correctly.If you’re using Snowflake’s sample data or a database from the Snowflake Marketplace, it needs one extra permission. Ask your admin to run this in Snowflake, replacing
DATABASE_NAME with your database and ZITE_APP with your connection’s role.The role is in the Role field under User and role when you connect. For an existing connection, check its name. For example, Snowflake (ZITE_SERVICE_2) means the role is ZITE_APP_2.Metrics don't show up
Metrics don't show up
Some companies store metrics in what Snowflake calls semantic views. These need an extra permission. Ask your admin to run this in Snowflake, replacing the names with your own and
ZITE_APP with your connection’s role.The role is in the Role field under User and role when you connect. For an existing connection, check its name. For example, Snowflake (ZITE_SERVICE_2) means the role is ZITE_APP_2.Test & connect fails
Test & connect fails
- Make sure you used Run all, not Run.
- Make sure your role was set to ACCOUNTADMIN when you ran the code.
- If you closed the Connect Snowflake window at any point, start again and run the new setup code.
Can't connect at all
Can't connect at all
Some companies only allow Snowflake connections from approved locations. Zite doesn’t support this yet. Ask your Snowflake admin whether your account has this restriction.
My app was working but stopped
My app was working but stopped
This usually happens when someone sets up a new Snowflake connection with the same settings. Reconnect Snowflake from your app to fix it.
Removing the connection
Removing the connection
Removing Snowflake from Zite stops your app from using it, but leaves the setup in Snowflake. Your admin can remove it from Snowflake if needed.
Need help with this integration? Contact support@zite.com.