This article explains how you can create Peaka REST API catalog with authentication.

Creating Peaka REST API catalog with authentication

Follow these simple steps to create Peaka REST API catalog with authentication:

  1. Open New Data Source Modal: Click on the “New Data Source” button in the left sidebar and click on “Connect Rest API” button. It will open a modal to create a new Peaka REST API catalog.
  1. Enter the API Details: Enter the API details such as URL, parameters, headers, body, etc.
  1. Add Authentication:

    • To add authentication, click on the “Authentication” and it will open a modal to add authentication.
    • Select the authentication type from the dropdown.
    • Enter the authentication details such as username, password, token, etc.
    • Click on the “Create” button to create the authentication.
  1. Run your API: Click on the “Send” button to run your API.

  2. View the API Response: Check your API response under the “Output” tab.

  1. Update Data Profile:

    • Click on the “Next” button, it will show the data profile of the API response.
    • You can update your column names, types, comments, etc.
  1. Update Pagination Strategy:

    • Click on the “Next” button, it will show the pagination strategy of the API response.
    • Select your pagination strategy from the dropdown by your API design.
  1. Update Parameters for Query:

    • Click on the “Next” button, it will show the parameters for query of the API response.
    • You can add new parameters by clicking on the “New Parameter” button.
    • You can update the parameter key, parameter type, data type, default value etc.
  1. Create Catalog:

    • Click on the “Create” button to create the catalog.
    • Enter the fields such as catalog name, schema name, table name, etc.
    • Click on the “Create” button to create the catalog.

That’s it! You have created a Peaka REST API catalog with authentication.