Skip to main content
This guide walks you through setting up and making your first prediction with KumoRFM.

Authentication

Before using KumoRFM, you need to authenticate. There are several ways to do this: Option 1: API Key
Option 2: OAuth2 Browser Login
Option 3: Google Colab In Google Colab, authenticate() automatically detects the environment and provides a widget-based login flow. Option 4: Environment Variables Set the KUMO_API_KEY and optionally RFM_API_URL environment variables before running your script:
Then simply call:
Option 5: Snowflake Native App When running inside a Snowflake notebook with KumoRFM deployed as a Snowflake Native App:

End-to-End Example

Here is a complete example using local pandas DataFrames to predict customer churn:
The result is a pandas DataFrame containing the prediction for each entity.

Using Other Data Sources

KumoRFM supports multiple data backends beyond pandas DataFrames:
See Data Requirements for full details on each data connector.

Next Steps