Install this library in a virtualenv using pip. virtualenv is a tool to create isolated Python environments. The basic problem it addresses is
one of dependencies and versions, and indirectly permissions.
With virtualenv, it’s possible to install this library without needing system install permissions, and without clashing with the installed system dependencies.
Contributions to this library are always welcome and highly encouraged.
See CONTRIBUTING for more information how to get started.
Please note that this project is released with a Contributor Code of Conduct. By participating in
this project you agree to abide by its terms. See Code of Conduct for more
information.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[],[],null,["Version 0.2.3keyboard_arrow_down\n\n- [0.8.0 (latest)](/python/docs/reference/langchain-google-bigtable/latest)\n- [0.7.0](/python/docs/reference/langchain-google-bigtable/0.7.0)\n- [0.6.0](/python/docs/reference/langchain-google-bigtable/0.6.0)\n- [0.5.0](/python/docs/reference/langchain-google-bigtable/0.5.0)\n- [0.4.4](/python/docs/reference/langchain-google-bigtable/0.4.4)\n- [0.3.1](/python/docs/reference/langchain-google-bigtable/0.3.1)\n- [0.2.3](/python/docs/reference/langchain-google-bigtable/0.2.3) \n\nBigtable for LangChain\n\n[](https://cloud.google.com/products#product-launch-stages) [](https://pypi.org/project/langchain-google-bigtable/) [](https://pypi.org/project/langchain-google-bigtable/)\n\n- [Client Library Documentation](https://cloud.google.com/python/docs/reference/langchain-google-bigtable/latest)\n\n- [Product Documentation](https://cloud.google.com/bigtable)\n\nQuick Start\n\nIn order to use this library, you first need to go through the following\nsteps:\n\n1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)\n\n2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)\n\n3. [Enable the Google Cloud Bigtable API.](https://console.cloud.google.com/flows/enableapi?apiid=bigtable.googleapis.com)\n\n4. [Setup Authentication.](https://googleapis.dev/python/google-api-core/latest/auth.html)\n\nInstallation\n\nInstall this library in a [virtualenv](https://virtualenv.pypa.io/en/latest/) using pip. [virtualenv](https://virtualenv.pypa.io/en/latest/) is a tool to create isolated Python environments. The basic problem it addresses is\none of dependencies and versions, and indirectly permissions.\n\nWith [virtualenv](https://virtualenv.pypa.io/en/latest/), it's possible to install this library without needing system install permissions, and without clashing with the installed system dependencies.\n\nSupported Python Versions\n\nPython \\\u003e= 3.8\n\nMac/Linux \n\n pip install virtualenv\n virtualenv \u003cyour-env\u003e\n source \u003cyour-env\u003e/bin/activate\n \u003cyour-env\u003e/bin/pip install langchain-google-bigtable\n\nWindows \n\n pip install virtualenv\n virtualenv \u003cyour-env\u003e\n \u003cyour-env\u003e\\Scripts\\activate\n \u003cyour-env\u003e\\Scripts\\pip.exe install langchain-google-bigtable\n\nDocument Loader Usage\n\nUse a document loader to load data as LangChain `Document`s. \n\n from langchain_google_bigtable import BigtableLoader\n\n\n loader = BigtableLoader(\n instance_id=\"my-instance\",\n table_id=\"my-table-name\"\n )\n docs = loader.lazy_load()\n\nSee the full [Document Loader](https://github.com/googleapis/langchain-google-bigtable-python/blob/main/docs/document_loader.ipynb) tutorial.\n\nChat Message History Usage\n\nUse `ChatMessageHistory` to store messages and provide conversation\nhistory to LLMs. \n\n from langchain_google_bigtable import BigtableChatMessageHistory\n\n\n history = BigtableChatMessageHistory(\n instance_id=\"my-instance\",\n table_id=\"my-message-store\",\n session_id=\"my-session_id\"\n )\n\nSee the full [Chat Message History](https://github.com/googleapis/langchain-google-bigtable-python/blob/main/docs/chat_message_history.ipynb) tutorial.\n\nContributions\n\nContributions to this library are always welcome and highly encouraged.\n\nSee [CONTRIBUTING](https://github.com/googleapis/langchain-google-bigtable-python/blob/main/CONTRIBUTING.md) for more information how to get started.\n\nPlease note that this project is released with a Contributor Code of Conduct. By participating in\nthis project you agree to abide by its terms. See [Code of Conduct](https://github.com/googleapis/langchain-google-bigtable-python/blob/main/CODE_OF_CONDUCT.md) for more\ninformation.\n\nLicense\n\nApache 2.0 - See\n[LICENSE](https://github.com/googleapis/langchain-google-bigtable-python/blob/main/LICENSE)\nfor more information.\n\nDisclaimer\n\nThis is not an officially supported Google product."]]