--- title: "Get a Table Instance" url: https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/datastore/get-table-instance/ description: "This page describes the method to perform operations in the DataStore component." last_updated: 2026-09-09T10:45:38Z service: CloudScale type: general related_links: - name: "Catalyst CloudScale" url: /en/cloud-scale/ - name: "DataStore Help" url: /en/cloud-scale/help/data-store/introduction/ - name: "Java SDK" url: /en/sdk/java/v1/cloud-scale/data-store/get-table-instance/ - name: "Python SDK" url: /en/sdk/python/v1/cloud-scale/data-store/get-table-instance/ - name: "iOS SDK" url: /en/sdk/ios/v2/cloud-scale/data-store/create-data-store-instance/ - name: "Android SDK" url: /en/sdk/android/v2/cloud-scale/data-store/create-data-store-instance/ - name: "Flutter SDK" url: /en/sdk/flutter/v2/cloud-scale/data-store/create-data-store-instance/ - name: "REST APIs" url: /en/api/code-reference/cloud-scale/data-store/insert-new-row/#InsertNewRow repository: name: "Repository" url: https://github.com/catalystbyzoho/zcatalyst-sdk-js --- # Get a Table Instance > **Note:** Ensure you have installed the [required package](https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/datastore/overview/#prerequisites) to use this SDK method. You can get a table's instance referring to it using its ID or name. ### Get The Table Instance Using TableID A table reference can be created by referring the table ID using the `getTable()` SDK method. The `datastore` reference used in the following code snippet is the [component instance](https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/datastore/get-component-instance/). ```javascript const datastore = new Datastore(); const table = datastore.table(20660000000012118); ``` ### Get The Table Instance Using Table Name A table reference can be created by referring the table name using the `getTable()` SDK method. The `datastore` reference used in the following code snippet is the [component instance](https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/datastore/get-component-instance/). ```javascript const datastore = new Datastore(); const table = datastore.table('VendorShipments'); ```