Skip to main content

Port Ocean is a CLI tool for managing your Port projects.

Project description


Ocean Ocean


Ocean is an innovative solution developed by Port to seamlessly integrate various third-party systems with our developer portal product, empowering engineers to effortlessly prioritize key features and streamline the integration process.


  • Python 3.11


In order to install the Ocean Framework, run the following command:

pip install port-ocean[cli]


poetry add port-ocean[cli]

Run Integration

  1. source the integration venv

    . .venv/bin/activate
  2. Run

    ocean sail ./path/to/

Export Architecture


Real-Time updates Architecture


Integration Lifecycle


Folder Structure

The Ocean Integration Framework follows a specific folder structure within this mono repository. This structure ensures proper organization and easy identification of integration modules. The suggested folder structure is as follows:

├── port_ocean (framework)/
│ ├──
│ ├── core/
| └── ...
└── integrations/
│  └─── integration_name/
│     ├────
│     ├──── pyproject.toml
│     └──── Dockerfile
├── ...
└── ...
  • The framework folder contains the core logic for managing the integration lifecycle.
  • Each integration is represented by a separate folder inside the integrations directory.
  • Inside each integration folder, you'll find a file that implements the core functionality of the integration for the specific third-party system.
  • The pyproject.toml file inside each integration folder lists the required dependencies for that integration.


The Integration Framework utilizes a config.yaml file for its configuration. This file defines both the framework configuration and the integration configuration within it. Each integration is identified by its type and unique identifier, which are utilized during initialization to appropriately update Port.

Example config.yaml:

# This is an example configuration file for the integration service.
# Please copy this file to config.yaml file in the integration folder and edit it to your needs.

  clientId: PORT_CLIENT_ID # Can be loaded via environment variable: PORT_CLIENT_ID
  clientSecret: PORT_CLIENT_SECRET # Can be loaded via environment variable: PORT_CLIENT_SECRET
# The event listener to use for the integration service.
  # The name of the integration.
  identifier: "my_integration"
  # The type of the integration.
  type: "PagerDuty"
    my_git_token: "random"
    some_other_integration_config: "Very important information"


The reason Ocean is open source is that we aim for the Port integration library to offer numerous useful out-of-the-box integrations. We have confidence that developers and DevOps professionals who rely on Port in their everyday work will be inclined to contribute and assist in making it a comprehensive tool.

In order to learn how you can contribute to Ocean, read our contributing guide

Local Development (Framework)

  1. Clone the repository

  2. Install dependencies:

    make install

    Or (For installing integrations dependencies as well)

    make install/all
  3. source the integration venv

    . .venv/bin/activate

Local Development (Integration)

  1. Clone the repository

  2. For new integration run

    make new

    and follow the instructions

  3. Install dependencies

  4. cd DESIRED_INTEGRATION_FOLDER && make install
  5. source the integration venv

    . .venv/bin/activate
  6. Run the integration

    make run


    ocean sail


The Ocean Framework is open-source software licensed under the Apache 2.0 License. See the LICENSE file for more information.


For any questions or inquiries, please reach out to our team at

Project details

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

port_ocean-0.9.4.tar.gz (69.6 kB view hashes)

Uploaded Source

Built Distribution

port_ocean-0.9.4-py3-none-any.whl (107.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page