# Connect to the Weaviate cloud instance
client = weaviate.connect_to_weaviate_cloud(
    cluster_url=weaviate_url,  # `weaviate_url`: your Weaviate URL
    auth_credentials=Auth.api_key(
        weaviate_key
    ),  # `weaviate_key`: your Weaviate API key
    headers=headers,  # Include the Cohere API key in the headers
)
```

And here we'll create a `"Legal_Docs"` collection in the Weaviate database:

```python PYTHON
from weaviate.classes.config import Configure, Property, DataType