# Installation & Guide

How to Install the Groclake Library

To use the Groclake library in your project, you need to install it using `pip`. The library is available on the Test PyPI repository. Run the following command in your terminal to install it:

```bash
pip install groclake
```

### Prerequisites

Ensure that you have the necessary API credentials for the Groclake service:

* GROCLAKE\_API\_KEY
* GROCLAKE\_ACCOUNT\_ID

These should be set as environment variables before making any API requests.

### Set Environment Variables

Before interacting with the CatalogLake API, make sure your API key and account ID are set up in your environment.

<mark style="color:purple;">Python</mark>

```python
import os
from groclake.cataloglake import CatalogLake

# Environment variable setup
GROCLAKE_API_KEY = 'your_api_key_here'
GROCLAKE_ACCOUNT_ID = 'your_account_id_here'

os.environ['GROCLAKE_API_KEY'] = GROCLAKE_API_KEY
os.environ['GROCLAKE_ACCOUNT_ID'] = GROCLAKE_ACCOUNT_ID

# Initialize Groclake catalog instance
catalog = CatalogLake()
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.groclake.ai/installation-and-guide.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
