Provider.activate()#

relationalai
#Provider.activate() -> None

Activate the RAI Native App and block until the activation is complete. Requires the Snowflake user set in your configuration to have the app_admin application role.

Returns#

None

Example#

Use .activate() to activate the RAI Native App if it is not already active:

#import relationalai as rai

app = rai.Provider()
app.activate()
NOTE

Activating the RAI Native App provisions several Snowflake and RAI resources and may take several minutes to complete. See RAI Native App Status for details.

See Also#