You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/marketplace/genai/_index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,5 +110,5 @@ The available showcase applications offer implementation inspiration for many of
110
110
In addition to the models listed above, you can also connect to other models by implementing one of the following options:
111
111
112
112
* To connect to other [foundation models](https://docs.aws.amazon.com/bedrock/latest/userguide/models-features.html) and implement them in your app, use the [Amazon Bedrock connector](/appstore/modules/aws/amazon-bedrock/).
113
-
* To connect to [Snowflake Cortex LLM](https://docs.snowflake.com/en/sql-reference/functions/complete-snowflake-cortex) functions, [configure the Snowflake REST SQL connector for Snowflake Cortex Analyst](/appstore/connectors/snowflake/snowflake-rest-sql/#cortex-analyst).
113
+
* To connect to [Snowflake Cortex LLM](https://docs.snowflake.com/en/sql-reference/functions/complete-snowflake-cortex) functions, [configure the Snowflake AI Data Connector for Snowflake Cortex Analyst](/appstore/connectors/snowflake/snowflake-ai-data-connector/#cortex-analyst).
114
114
* To implement your connector compatible with the other components, use the [GenAI Commons](/appstore/modules/genai/commons/) interface and follow the how-to [Build Your Own GenAI Connector](/appstore/modules/genai/how-to/byo-connector/).
Copy file name to clipboardExpand all lines: content/en/docs/marketplace/genai/reference-guide/external-platforms/snowflake-cortex.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ description: "Describes the Snowflake Cortex service."
12
12
13
13
## Integrating Your Mendix App with Snowflake Cortex
14
14
15
-
To allow your Mendix app to use Snowflake Cortex GenAI functionalities, install and configure the [Snowflake REST SQL connector](/appstore/connectors/snowflake/snowflake-rest-sql/).
15
+
To allow your Mendix app to use Snowflake Cortex GenAI functionalities, install and configure the [Snowflake AI Data Connector](/appstore/connectors/snowflake/snowflake-ai-data-connector/).
16
16
17
17
Mendix also offers a [Snowflake showcase app](https://marketplace.mendix.com/link/component/225845), which you can use as an example of how to implement the Cortex functionalities in your own app.
18
18
@@ -37,7 +37,7 @@ Under the hood, the functionalities are implemented by calling them from microfl
37
37
38
38
### Implementing the Analyst Functionality
39
39
40
-
For more information about configuring the integration between Mendix and Snowflake Cortex Analyst, see [Configuring Snowflake Cortex Analyst](/appstore/connectors/snowflake/snowflake-rest-sql/#cortex-analyst).
40
+
For more information about configuring the integration between Mendix and Snowflake Cortex Analyst, see [Configuring Snowflake Cortex Analyst](/appstore/connectors/snowflake/snowflake-ai-data-connector/#cortex-analyst).
41
41
42
42
### Implementing Other Functionalities {#functionalities}
43
43
@@ -58,7 +58,7 @@ The [Snowflake showcase app](https://marketplace.mendix.com/link/component/22584
58
58
59
59
3. To see how a Snowflake Cortex Analyst action is called, use the **Explorer** search box to find and open the *EXAMPLE_CortexAnalyst_GenerateResponseMessage** microflow.
Copy file name to clipboardExpand all lines: content/en/docs/marketplace/platform-supported-content/modules/snowflake/_index.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,15 +13,15 @@ Mendix has several options available for users who want to integrate their app w
13
13
14
14
## Snowflake Integration Options
15
15
16
-
The integration between Mendix and Snowflake is available in either direction. That is, you can use data from Snowflake in your Mendix app with the External Database connector or the REST SQL connector, but you can also ingest your Mendix data into Snowflake by using the Mendix Data Loader. For more information, refer to the sections below.
16
+
The integration between Mendix and Snowflake is available in either direction. That is, you can use data from Snowflake in your Mendix app with the External Database connector or the Snowflake AI Data connector, but you can also ingest your Mendix data into Snowflake by using the Mendix Data Loader. For more information, refer to the sections below.
17
17
18
18
The following diagram outlines the available integration options:
Mendix provides real-time interaction with Snowflake through the [External Database connector](https://marketplace.mendix.com/link/component/219862) and the [REST SQL connector](https://marketplace.mendix.com/link/component/225717). These connectors can enable you to perform the following tasks:
24
+
Mendix provides real-time interaction with Snowflake through the [External Database connector](https://marketplace.mendix.com/link/component/219862) and the [Snowflake AI Data Connector](https://marketplace.mendix.com/link/component/225717). These connectors can enable you to perform the following tasks:
25
25
26
26
* Read, write, and use data from Snowflake in your application.
@@ -37,13 +37,13 @@ The External Database connector only supports system-level authentication. It ca
37
37
38
38
The External Database connector has GA support for Snowflake from [Studio Pro 10.12](/releasenotes/studio-pro/10.12/) (Beta versions are available from [Studio Pro 10.10](/releasenotes/studio-pro/10.10/)). Some Cortex functionalities are currently limited when using the External Database connector, but they are on the roadmap.
39
39
40
-
#### REST SQL Connector
40
+
#### Snowflake AI Data Connector
41
41
42
-
The [REST SQL connector](https://marketplace.mendix.com/link/component/225717), available from the Mendix Marketplace, supports the 9.24 LTS version of Mendix. It offers key-pair authentication with a private key file according to PKCS #8 standard and OAuth.
42
+
The [Snowflake AI Data Connector](https://marketplace.mendix.com/link/component/225717), available from the Mendix Marketplace, supports the 9.24 LTS version of Mendix. It offers key-pair authentication with a private key file according to PKCS #8 standard and OAuth.
43
43
44
-
With the REST SQL connector, authentication can be done either on system or on end-user level, and the connector supports role-based access control (RBAC) per end user as well.
44
+
With the Snowflake AI Data Connector, authentication can be done either on system or on end-user level, and the connector supports role-based access control (RBAC) per end user as well.
45
45
46
-
The REST SQL connector requires an additional step to transform data rows received from the REST SQL API into Mendix objects. For more information, see [Snowflake REST SQL Connector](/appstore/connectors/snowflake/snowflake-rest-sql/).
46
+
The Snowflake AI Data Connector requires an additional step to transform data rows received from the REST SQL API into Mendix objects. For more information, see [Snowflake AI Data Connector](/appstore/connectors/snowflake/snowflake-ai-data-connector/).
Copy file name to clipboardExpand all lines: content/en/docs/marketplace/platform-supported-content/modules/snowflake/mendix-data-loader.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -182,12 +182,12 @@ Programmatically triggering an ingestion job can meet data ingestion requirement
182
182
### Prerequisites
183
183
184
184
* A fully configured data source in the Mendix Data Loader
185
-
* A Mendix app equipped with the Snowflake REST SQL connector
185
+
* A Mendix app equipped with the Snowflake AI Data Connector
186
186
* An authenticated user that is allowed to trigger stored procedures
187
187
188
188
### Triggering the Ingestion
189
189
190
-
To trigger an ingestion job programmatically, use the `ExecuteStatement` operation available in the [Snowflake REST SQL connector](/appstore/connectors/snowflake/snowflake-rest-sql/).
190
+
To trigger an ingestion job programmatically, use the `ExecuteStatement` operation available in the [Snowflake AI Data Connector](/appstore/connectors/snowflake/snowflake-ai-data-connector/).
191
191
192
192
1. Obtain the Snowflake data source ID by performing the following steps:
193
193
@@ -196,7 +196,7 @@ To trigger an ingestion job programmatically, use the `ExecuteStatement` operati
196
196
3. Click **View** by the configured data source.
197
197
4. Copy the value for the `ID` key.
198
198
199
-
2. In the Snowflake REST SQL connector, use the `ExecuteStatement` operation to execute the following statement:
199
+
2. In the Snowflake AI Data Connector, use the `ExecuteStatement` operation to execute the following statement:
Copy file name to clipboardExpand all lines: content/en/docs/marketplace/platform-supported-content/modules/snowflake/rbac/key-pair.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,38 +16,38 @@ In the context of integration between Snowflake and Mendix, RBAC helps ensure th
16
16
17
17
### Prerequisites
18
18
19
-
To enable key-pair RBAC for your Mendix app, you must first install and configure the [Snowflake REST SQL Connector](/appstore/connectors/snowflake/snowflake-rest-sql/).
19
+
To enable key-pair RBAC for your Mendix app, you must first install and configure the [Snowflake AI Data Connector](/appstore/connectors/snowflake/snowflake-ai-data-connector/).
20
20
21
21
## Configuring the Connection Details {#connection-details}
22
22
23
23
To enable role-based access control for your Snowflake-integrated Mendix app, perform the following steps:
24
24
25
25
1. Ensure your Mendix app has the necessary domain model and entities, as shown in the following figure:
2. Decide on the authentication method. For Snowflake, key-pair authentication is recommended.
30
30
3. Configure the necessary keys and credentials in your Snowflake account and assign the public key to a Snowflake user. For more information, see [Key-pair authentication and key-pair rotation](https://docs.snowflake.com/en/user-guide/key-pair-auth) in the Snowflake documentation.
31
31
4. In your Mendix app, create a new **Account Overview** page, were you can add the connection details to the users. A new **Connection Details** record is needed for every user that has access to data in Snowflake. The Connection Details object should be filled in at the end-user level.
5. Optional: If using the [key-pair authentication method](https://docs.snowflake.com/en/user-guide/key-pair-auth), create a **Private Key** object to store each user's private key.
36
36
6. Create a microflow that gets a **Connection Details** object associated with the account if it exists, or otherwise creates one along with a private key, as shown in the following figure:
2. In the **SQL Statement** field, enter your SQL query. For example, to select the item and region data from the `Example_RBAC` table in Snowflake, enter the following query:
53
53
@@ -60,28 +60,28 @@ To interact with Snowflake, you must configure your Mendix app to execute SQL qu
60
60
3. Fill out the **Timeout**, **Database**, **Schema**, and**Warehouse** fields as required.
61
61
4. In the **Role** field, specify the Snowflake user role to be used for executing the query, or leave the field blank if you want the statement to be executed with the user's default role in Snowflake. Keep in mind that the user only has access to the warehouse, schema, database, and data granted to their assigned user role.
62
62
5. Add a **Retrieve Objects** action after the **Statement** object.
63
-
6. In the **XPath constraint** field, enter the following XPath: `[SnowflakeRESTSQL.ConnectionDetails_Account = $currentUser]`
63
+
6. In the **XPath constraint** field, enter the following XPath: `[SnowflakeAIDataConnector.ConnectionDetails_Account = $currentUser]`
This ensures that the connection details are the ones associated with the current user account, so that the user can only access the data to which they have access in Snowflake.
68
68
69
-
7. Add an **Execute Statement** action provided by the [Rest SQL Connector](/appstore/connectors/snowflake/snowflake-rest-sql/) after the **Retrieve Objects** action.
69
+
7. Add an **Execute Statement** action provided by the [Snowflake AI Data Connector](/appstore/connectors/snowflake/snowflake-ai-data-connector/) after the **Retrieve Objects** action.
70
70
8. Configure the **Statement** and **ConnectionDetails** parameters as shown in the following figure:
9. If required, map the HTTP Response to an MxObject by using an [import mapping](/refguide/import-mappings/), or by adding a [Transform Responses to MxObjects](/appstore/connectors/snowflake/snowflake-rest-sql/#transform-response-to-mx-object) microflow action, as shown in the following figure:
74
+
9. If required, map the HTTP Response to an MxObject by using an [import mapping](/refguide/import-mappings/), or by adding a [Transform Responses to MxObjects](/appstore/connectors/snowflake/snowflake-ai-data-connector/#transform-response-to-mx-object) microflow action, as shown in the following figure:
The **Transform Responses** action creates a single table with the HTTP Response data. To do that, it requires a domain model entity with the attributes names being exactly as the same the returned response attributes. For example, for the sample query used in step 2, you should configure the following domain model entity:
14. In your Mendix app, configure the [connection details for your test users](#connection-details), as well as the [Execute Statement microflow](#queries).
228
228
15. Create and assign the public key and the private key to the equivalent users in Snowflake.
229
229
16. Log in to your Mendix app as **TestUser1**.
230
230
17. Verify that you can view the same data as in Snowflake.
*[Snowflake AI Data Connector](https://docs.mendix.com/appstore/connectors/snowflake/snowflake-ai-data-connector/)
25
25
26
26
## Configuring Azure Entra ID
27
27
@@ -164,7 +164,7 @@ To configure your Mendix application, perform the following steps:
164
164
* name – FullName
165
165
* preferred_username – Name
166
166
167
-
12. Go to the configuration page of the [Snowflake RestSQL connector](/appstore/connectors/snowflake/snowflake-rest-sql/) and add a new connection.
167
+
12. Go to the configuration page of the [Snowflake AI Data Connector](/appstore/connectors/snowflake/snowflake-ai-data-connector/) and add a new connection.
0 commit comments