activate()#

relationalai.app
#activate()

A procedure that activates the RelationalAI (RAI) Native App. While the app is activated, Python users may create and query models using the RAI Python API. Requires the app_admin application role.

Parameters#

None.

Returns#

STRING

Example#

Use the app.activate() procedure to activate the RAI Native App after installing it, or to re-activate an app that has been deactivated:

#CALL relationalai.app.activate();
/*+----------------------------------------------+
  | RelationalAI service activated successfully. |
  +----------------------------------------------+ */

When you activate your app for the first time, several Snowflake compute resources required for the app to function are provisioned. It may take several minutes to provision these resources prior to the app being fully activated. See Compute Resources for more information.

When you re-activate a deactivated app:

NOTE

It may take several minutes to re-create engines after the app is re-activated. Use the engines view to monitor the status of your engines.

See App Management for more information on activating and deactivating the RAI Native App.

See Also#