Akkio Docs
  • Akkio Documentation
    • Akkio FAQ
  • Account and Settings
    • Team Settings
    • Organization Settings
    • Account Settings
    • Role Based Access Control
  • Demo Models
    • Demo Models
      • Lead Scoring
      • Retail Sales Forecasting
      • Predict Credit Card Fraud
      • Identify Customer Churn
  • Setting up Integrations
    • Connecting Data
    • Airtable (Beta)
    • Google Ads (Beta)
    • Google Analytics 4 (Beta)
    • Google BigQuery
    • Google BigQuery (Service Account)
    • Google Sheets
    • HubSpot (Beta)
    • MariaDB (Beta)
    • MongoDB (Beta)
    • MySQL (Beta)
    • PostgreSQL (Beta)
    • Redshift (Beta)
    • Salesforce
    • Akkio Data Chat for Slack
    • Snowflake (Username / Password) (Beta)
    • Zapier
  • Prepare your Data
    • Prepare
      • Chat Data Prep
      • Clean
      • Merge & Fuzzy Merge
      • Table View
      • Pivot View
      • Deploying Chat Data Prep
  • Explore
    • Chat Explore
    • Chart Types
  • Building a Model
    • Predict
      • Insights Report - Classification
      • Insights Report - Regression
    • Forecasting
      • Insights Report - Forecasting
    • Model Types
  • Deploying a Model
    • Deploy
      • Google BigQuery
      • Google Sheets
      • HubSpot (Beta)
      • PostgreSQL (Beta)
      • Salesforce
      • Snowflake (Beta)
      • Web App
      • Zapier
  • REPORTING AND SHARING
    • Reports
    • Dashboards
  • REST API
    • API Introduction
      • Quickstart
    • API Options
      • cURL Commands
      • Python Library
      • Node.js Library
    • API FAQ
  • Rest API (v2)
    • Documentation
Powered by GitBook
On this page
  • Deployment Settings
  • Snowflake Predictions Source Dataset
  • Map Fields
  • Other Options
  • Preview and Deploy

Was this helpful?

  1. Deploying a Model
  2. Deploy

Snowflake (Beta)

PreviousSalesforceNextWeb App

Last updated 10 months ago

Was this helpful?

Select the Snowflake option in the deploy screen to deploy your model to Snowflake

Deployment Settings

Once selected, there are several options to select for a successful deployment.

Snowflake Predictions Source Dataset

Select the table against which you will be generating predictions. Do this by entering the schema and table name, then clicking "Verify"

NOTE: The credentials used to train your Project will be used, i.e. the Account Identifier, Warehouse, Username, Password, and Role

To create a new role for a user and grant read-only access, run SQL similar to:

-- Assumes a pre-existing user named MY_USER

CREATE ROLE AKKIO_ROLE;

GRANT ROLE AKKIO_ROLE TO USER MY_USER;

GRANT USAGE ON WAREHOUSE MY_WH TO ROLE AKKIO_ROLE;

GRANT USAGE ON DATABASE MY_DB TO ROLE AKKIO_ROLE;

GRANT USAGE ON SCHEMA MY_DB.MY_SCHEMA TO ROLE AKKIO_ROLE;

GRANT SELECT ON TABLE MY_DB.MY_SCHEMA.MY_TABLE TO ROLE AKKIO_ROLE;

GRANT CREATE TABLE ON SCHEMA MY_DB.MY_SCHEMA TO ROLE AKKIO_ROLE;

GRANT CREATE FILE FORMAT ON SCHEMA MY_DB.MY_SCHEMATO ROLE AKKIO_ROLE;

NOTE: Predictions will be written to a new table, named <your_table>_akkio_predictions in the same schema as your source table. Your user must have access to create a table in this schema.

Map Fields

Map the fields betwen your training dataset and your predictions dataset. You only need to map the relevant fields, and can fields can be named differently

Other Options

  • Scheduler - Select how often the prediction will run.

  • Run on Deploy - Select whether it will run immediately upon deployment.

  • Run Rules - Run against either all rows or rows without predictions. This allows you to input and output the same type of Salesforce field.

  • Map Fields - Map the fields existing in the project to the fields on the prediction data. These will often be the same but can be manually mapped if they are different.

  • Apply Data Prep - If you applied any data prep steps in the project, those transformations can be used to your prediction data before running the prediction

Preview and Deploy

Once you are happy with your settings, you can click to preview and then deploy your model.