> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# create_catalog

### create\_catalog

<ul>
  <li>
    create\_catalog(\
    &#x20;name: string,\
    &#x20;table\_format: string,\
    &#x20;location: string,\
    &#x20;type: string,\
    &#x20;credential: string,\
    &#x20;datasource: string,\
    &#x20;options?: Record\<string, string>,\
    &#x20;callback?: [GPUdbCallback](https://docs.kinetica.com/content/api/nodejs/types/GPUdbCallback.md),\
    ): Promise\<[CreateCatalogResponse](https://docs.kinetica.com/content/api/nodejs/interfaces/CreateCatalogResponse.md)>

    Creates a catalog, which contains the location and connection information for a deltalake catalog that is external to the database.

    #### Parameters

    <ul>
      <li>
        name: string

        Name of the catalog to be created.
      </li>

      <li>
        table\_format: string

        Table format (iceberg, hudi, deltalake).
      </li>

      <li>
        location: string

        Location of the catalog in 'http\[s]://\[server\[:port]]]' format.
      </li>

      <li>
        type: string

        Type of the catalog (REST (unity, polaris, tabular), nessie, hive, glue).
      </li>

      <li>
        credential: string

        Name of the credential object to be used in catalog.
      </li>

      <li>
        datasource: string

        Password for the remote system user; may be an empty string.
      </li>

      <li>
        `Optional`options: Record\<string, string>

        Optional parameters.
      </li>

      <li>
        `Optional`callback: [GPUdbCallback](https://docs.kinetica.com/content/api/nodejs/types/GPUdbCallback.md)

        Optional callback function
      </li>
    </ul>

    #### Returns Promise\<[CreateCatalogResponse](https://docs.kinetica.com/content/api/nodejs/interfaces/CreateCatalogResponse.md)>

    Promise\<Types.CreateCatalogResponse> - Promise resolving to the response

    <ul>
      <li>Defined in [src/GPUdb.ts:5738](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L5738)</li>
    </ul>
  </li>
</ul>

### create\_catalog\_request

<ul>
  <li>
    create\_catalog\_request(\
    &#x20;request: [CreateCatalogRequest](https://docs.kinetica.com/content/api/nodejs/interfaces/CreateCatalogRequest.md),\
    &#x20;callback?: [GPUdbCallback](https://docs.kinetica.com/content/api/nodejs/types/GPUdbCallback.md),\
    ): Promise\<[CreateCatalogResponse](https://docs.kinetica.com/content/api/nodejs/interfaces/CreateCatalogResponse.md)>

    Creates a catalog, which contains the location and connection information for a deltalake catalog that is external to the database.

    #### Parameters

    <ul>
      <li>
        request: [CreateCatalogRequest](https://docs.kinetica.com/content/api/nodejs/interfaces/CreateCatalogRequest.md)

        Request object containing the parameters for the operation
      </li>

      <li>
        `Optional`callback: [GPUdbCallback](https://docs.kinetica.com/content/api/nodejs/types/GPUdbCallback.md)

        Optional callback function
      </li>
    </ul>

    #### Returns Promise\<[CreateCatalogResponse](https://docs.kinetica.com/content/api/nodejs/interfaces/CreateCatalogResponse.md)>

    Promise\<Types.CreateCatalogResponse> - Promise resolving to the response

    <ul>
      <li>Defined in [src/GPUdb.ts:5704](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/GPUdb.ts#L5704)</li>
    </ul>
  </li>
</ul>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.