> For the complete documentation index, see [llms.txt](https://upsolver.gitbook.io/content/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://upsolver.gitbook.io/content/reference-1/sql-commands/connections/create-connection/iceberg-rest-catalogs.md).

# Iceberg REST catalogs

In order to create and work with data lake tables and Apache Iceberg tables within Upsolver, you first need to establish a connection with a metadata store such as Polaris Catalog.

## Syntax

```sql
CREATE ICEBERG_REST_CATALOG CONNECTION <connection_identifier> 
  URI = '<catalog_URI>'
  CLIENT_PROPERTIES = (<PROPERTY1> = 'value1',<PROPERTY2> = 'value2'...)
  [ COMMENT = '<comment>' ];
```

#### Jump to

* [`URI`](#uri-editable)
* [`CLIENT_PROPERTIES`](#client_properties-editable)
* [`COMMENT`](#comment-editable)

## Connection options

#### `URI` — editable

Type: `text`

The catalog URL.&#x20;

#### **`CLIENT_PROPERTIES — editable`**

The client properties requested by the catalog. Should be passed in this format:&#x20;

`<property_name> = 'property_value'`

#### `COMMENT` — editable

Type: `text`

(Optional) A description or comment regarding this connection.

## Example

```sql
CREATE ICEBERG_REST_CATALOG CONNECTION my_polaris_catalog
  URI = 'https://<account_locator>.snowflakecomputing.com/polaris/api/catalog'
  CLIENT_PROPERTIES = (warehouse = 'my_warehouse',
  credential = 'my_client_id:my_secret', 
  scope='PRINCIPAL_ROLE=ALL')
  COMMENT='polaris production'; 
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://upsolver.gitbook.io/content/reference-1/sql-commands/connections/create-connection/iceberg-rest-catalogs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
