--- title: "Get Component Instance" url: https://docs.catalyst.zoho.com/en/sdk/python/v1/cloud-scale/data-streams/get-component-instance/ description: "This page describes the method to create an instance of the Data Streams component in your Python application with sample code snippets." last_updated: 2026-08-13T11:41:55Z service: Cloud Scale type: general related_links: - name: "Data Streams Help" url: /en/cloud-scale/help/data-streams/introduction - name: "SDK Scopes" url: /en/sdk/python/v1/sdk-scopes --- # Get Component Instance [Catalyst Data Streams](https://docs.catalyst.zoho.com/en/cloud-scale/help/data-streams/introduction/) lets you publish live, event-based data through channels and deliver it instantly to subscribed clients. You can create an instance of the Data Streams component to access all channel-level operations such as listing channels, publishing data, and generating WebSocket tokens. You must first create a Data Streams instance using the `datastreams()` method to perform any Data Streams operations. The `initialize_app()` method requires valid Catalyst credentials and app options from credential file or environment variables. ```python import zcatalyst_sdk # Initialize SDK (reads credentials + project options) app_sdk = zcatalyst_sdk.initialize_app() # Get the Datastreams component data_streams = app_sdk.datastreams() ```