diff --git a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml
index 344fcee54da9..ba5bbe8eda39 100644
--- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml
+++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml
@@ -254,6 +254,13 @@
icon: commercetools.svg
sourceType: api
releaseStage: alpha
+- name: ConfigCat
+ sourceDefinitionId: 4fd7565c-8b99-439b-80d0-2d965e1d958c
+ dockerRepository: airbyte/source-configcat
+ dockerImageTag: 0.1.0
+ documentationUrl: https://docs.airbyte.com/integrations/sources/configcat
+ sourceType: api
+ releaseStage: alpha
- name: Confluence
sourceDefinitionId: cf40a7f8-71f8-45ce-a7fa-fca053e4028c
dockerRepository: airbyte/source-confluence
diff --git a/airbyte-config/init/src/main/resources/seed/source_specs.yaml b/airbyte-config/init/src/main/resources/seed/source_specs.yaml
index 0312ecff6390..49db54980886 100644
--- a/airbyte-config/init/src/main/resources/seed/source_specs.yaml
+++ b/airbyte-config/init/src/main/resources/seed/source_specs.yaml
@@ -2474,6 +2474,32 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
+- dockerImage: "airbyte/source-configcat:0.1.0"
+ spec:
+ documentationUrl: "https://docs.airbyte.com/integrations/sources/configcat"
+ connectionSpecification:
+ $schema: "http://json-schema.org/draft-07/schema#"
+ title: "Configcat Spec"
+ type: "object"
+ required:
+ - "username"
+ - "password"
+ additionalProperties: true
+ properties:
+ username:
+ title: "Username"
+ type: "string"
+ description: "Basic auth user name. See here."
+ password:
+ title: "Password"
+ type: "string"
+ description: "Basic auth password. See here."
+ airbyte_secret: true
+ supportsNormalization: false
+ supportsDBT: false
+ supported_destination_sync_modes: []
- dockerImage: "airbyte/source-confluence:0.1.1"
spec:
documentationUrl: "https://docsurl.com"
diff --git a/airbyte-integrations/connectors/source-configcat/.dockerignore b/airbyte-integrations/connectors/source-configcat/.dockerignore
new file mode 100644
index 000000000000..355d3d537163
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/.dockerignore
@@ -0,0 +1,6 @@
+*
+!Dockerfile
+!main.py
+!source_configcat
+!setup.py
+!secrets
diff --git a/airbyte-integrations/connectors/source-configcat/Dockerfile b/airbyte-integrations/connectors/source-configcat/Dockerfile
new file mode 100644
index 000000000000..f4da267a674f
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/Dockerfile
@@ -0,0 +1,38 @@
+FROM python:3.9.11-alpine3.15 as base
+
+# build and load all requirements
+FROM base as builder
+WORKDIR /airbyte/integration_code
+
+# upgrade pip to the latest version
+RUN apk --no-cache upgrade \
+ && pip install --upgrade pip \
+ && apk --no-cache add tzdata build-base
+
+
+COPY setup.py ./
+# install necessary packages to a temporary folder
+RUN pip install --prefix=/install .
+
+# build a clean environment
+FROM base
+WORKDIR /airbyte/integration_code
+
+# copy all loaded and built libraries to a pure basic image
+COPY --from=builder /install /usr/local
+# add default timezone settings
+COPY --from=builder /usr/share/zoneinfo/Etc/UTC /etc/localtime
+RUN echo "Etc/UTC" > /etc/timezone
+
+# bash is installed for more convenient debugging.
+RUN apk --no-cache add bash
+
+# copy payload code only
+COPY main.py ./
+COPY source_configcat ./source_configcat
+
+ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
+ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
+
+LABEL io.airbyte.version=0.1.0
+LABEL io.airbyte.name=airbyte/source-configcat
diff --git a/airbyte-integrations/connectors/source-configcat/README.md b/airbyte-integrations/connectors/source-configcat/README.md
new file mode 100644
index 000000000000..7041446c7f99
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/README.md
@@ -0,0 +1,79 @@
+# Configcat Source
+
+This is the repository for the Configcat configuration based source connector.
+For information about how to use this connector within Airbyte, see [the documentation](https://docs.airbyte.io/integrations/sources/configcat).
+
+## Local development
+
+#### Building via Gradle
+You can also build the connector in Gradle. This is typically used in CI and not needed for your development workflow.
+
+To build using Gradle, from the Airbyte repository root, run:
+```
+./gradlew :airbyte-integrations:connectors:source-configcat:build
+```
+
+#### Create credentials
+**If you are a community contributor**, follow the instructions in the [documentation](https://docs.airbyte.io/integrations/sources/configcat)
+to generate the necessary credentials. Then create a file `secrets/config.json` conforming to the `source_configcat/spec.yaml` file.
+Note that any directory named `secrets` is gitignored across the entire Airbyte repo, so there is no danger of accidentally checking in sensitive information.
+See `integration_tests/sample_config.json` for a sample config file.
+
+**If you are an Airbyte core member**, copy the credentials in Lastpass under the secret name `source configcat test creds`
+and place them into `secrets/config.json`.
+
+### Locally running the connector docker image
+
+#### Build
+First, make sure you build the latest Docker image:
+```
+docker build . -t airbyte/source-configcat:dev
+```
+
+You can also build the connector image via Gradle:
+```
+./gradlew :airbyte-integrations:connectors:source-configcat:airbyteDocker
+```
+When building via Gradle, the docker image name and tag, respectively, are the values of the `io.airbyte.name` and `io.airbyte.version` `LABEL`s in
+the Dockerfile.
+
+#### Run
+Then run any of the connector commands as follows:
+```
+docker run --rm airbyte/source-configcat:dev spec
+docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-configcat:dev check --config /secrets/config.json
+docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-configcat:dev discover --config /secrets/config.json
+docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integration_tests airbyte/source-configcat:dev read --config /secrets/config.json --catalog /integration_tests/configured_catalog.json
+```
+## Testing
+
+#### Acceptance Tests
+Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information.
+If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py.
+
+To run your integration tests with docker
+
+### Using gradle to run tests
+All commands should be run from airbyte project root.
+To run unit tests:
+```
+./gradlew :airbyte-integrations:connectors:source-configcat:unitTest
+```
+To run acceptance and custom integration tests:
+```
+./gradlew :airbyte-integrations:connectors:source-configcat:integrationTest
+```
+
+## Dependency Management
+All of your dependencies should go in `setup.py`, NOT `requirements.txt`. The requirements file is only used to connect internal Airbyte dependencies in the monorepo for local development.
+We split dependencies between two groups, dependencies that are:
+* required for your connector to work need to go to `MAIN_REQUIREMENTS` list.
+* required for the testing need to go to `TEST_REQUIREMENTS` list
+
+### Publishing a new version of the connector
+You've checked out the repo, implemented a million dollar feature, and you're ready to share your changes with the world. Now what?
+1. Make sure your changes are passing unit and integration tests.
+1. Bump the connector version in `Dockerfile` -- just increment the value of the `LABEL io.airbyte.version` appropriately (we use [SemVer](https://semver.org/)).
+1. Create a Pull Request.
+1. Pat yourself on the back for being an awesome contributor.
+1. Someone from Airbyte will take a look at your PR and iterate with you to merge it into master.
diff --git a/airbyte-integrations/connectors/source-configcat/__init__.py b/airbyte-integrations/connectors/source-configcat/__init__.py
new file mode 100644
index 000000000000..1100c1c58cf5
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/__init__.py
@@ -0,0 +1,3 @@
+#
+# Copyright (c) 2022 Airbyte, Inc., all rights reserved.
+#
diff --git a/airbyte-integrations/connectors/source-configcat/acceptance-test-config.yml b/airbyte-integrations/connectors/source-configcat/acceptance-test-config.yml
new file mode 100644
index 000000000000..50576c0dd298
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/acceptance-test-config.yml
@@ -0,0 +1,20 @@
+# See [Source Acceptance Tests](https://docs.airbyte.com/connector-development/testing-connectors/source-acceptance-tests-reference)
+# for more information about how to configure these tests
+connector_image: airbyte/source-configcat:dev
+tests:
+ spec:
+ - spec_path: "source_configcat/spec.yaml"
+ connection:
+ - config_path: "secrets/config.json"
+ status: "succeed"
+ - config_path: "integration_tests/invalid_config.json"
+ status: "failed"
+ discovery:
+ - config_path: "secrets/config.json"
+ basic_read:
+ - config_path: "secrets/config.json"
+ configured_catalog_path: "integration_tests/configured_catalog.json"
+ empty_streams: ["organization_members"]
+ full_refresh:
+ - config_path: "secrets/config.json"
+ configured_catalog_path: "integration_tests/configured_catalog.json"
diff --git a/airbyte-integrations/connectors/source-configcat/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-configcat/acceptance-test-docker.sh
new file mode 100644
index 000000000000..c51577d10690
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/acceptance-test-docker.sh
@@ -0,0 +1,16 @@
+#!/usr/bin/env sh
+
+# Build latest connector image
+docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2-)
+
+# Pull latest acctest image
+docker pull airbyte/source-acceptance-test:latest
+
+# Run
+docker run --rm -it \
+ -v /var/run/docker.sock:/var/run/docker.sock \
+ -v /tmp:/tmp \
+ -v $(pwd):/test_input \
+ airbyte/source-acceptance-test \
+ --acceptance-test-config /test_input
+
diff --git a/airbyte-integrations/connectors/source-configcat/build.gradle b/airbyte-integrations/connectors/source-configcat/build.gradle
new file mode 100644
index 000000000000..e7b33e0f3e27
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/build.gradle
@@ -0,0 +1,9 @@
+plugins {
+ id 'airbyte-python'
+ id 'airbyte-docker'
+ id 'airbyte-source-acceptance-test'
+}
+
+airbytePython {
+ moduleDirectory 'source_configcat'
+}
diff --git a/airbyte-integrations/connectors/source-configcat/integration_tests/__init__.py b/airbyte-integrations/connectors/source-configcat/integration_tests/__init__.py
new file mode 100644
index 000000000000..1100c1c58cf5
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/integration_tests/__init__.py
@@ -0,0 +1,3 @@
+#
+# Copyright (c) 2022 Airbyte, Inc., all rights reserved.
+#
diff --git a/airbyte-integrations/connectors/source-configcat/integration_tests/abnormal_state.json b/airbyte-integrations/connectors/source-configcat/integration_tests/abnormal_state.json
new file mode 100644
index 000000000000..52b0f2c2118f
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/integration_tests/abnormal_state.json
@@ -0,0 +1,5 @@
+{
+ "todo-stream-name": {
+ "todo-field-name": "todo-abnormal-value"
+ }
+}
diff --git a/airbyte-integrations/connectors/source-configcat/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-configcat/integration_tests/acceptance.py
new file mode 100644
index 000000000000..1302b2f57e10
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/integration_tests/acceptance.py
@@ -0,0 +1,16 @@
+#
+# Copyright (c) 2022 Airbyte, Inc., all rights reserved.
+#
+
+
+import pytest
+
+pytest_plugins = ("source_acceptance_test.plugin",)
+
+
+@pytest.fixture(scope="session", autouse=True)
+def connector_setup():
+ """This fixture is a placeholder for external resources that acceptance test might require."""
+ # TODO: setup test dependencies if needed. otherwise remove the TODO comments
+ yield
+ # TODO: clean up test dependencies
diff --git a/airbyte-integrations/connectors/source-configcat/integration_tests/configured_catalog.json b/airbyte-integrations/connectors/source-configcat/integration_tests/configured_catalog.json
new file mode 100644
index 000000000000..589866b6a4fe
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/integration_tests/configured_catalog.json
@@ -0,0 +1,49 @@
+{
+ "streams": [
+ {
+ "stream": {
+ "name": "organizations",
+ "json_schema": {},
+ "supported_sync_modes": ["full_refresh"]
+ },
+ "sync_mode": "full_refresh",
+ "destination_sync_mode": "overwrite"
+ },
+ {
+ "stream": {
+ "name": "organization_members",
+ "json_schema": {},
+ "supported_sync_modes": ["full_refresh"]
+ },
+ "sync_mode": "full_refresh",
+ "destination_sync_mode": "overwrite"
+ },
+ {
+ "stream": {
+ "name": "products",
+ "json_schema": {},
+ "supported_sync_modes": ["full_refresh"]
+ },
+ "sync_mode": "full_refresh",
+ "destination_sync_mode": "overwrite"
+ },
+ {
+ "stream": {
+ "name": "tags",
+ "json_schema": {},
+ "supported_sync_modes": ["full_refresh"]
+ },
+ "sync_mode": "full_refresh",
+ "destination_sync_mode": "overwrite"
+ },
+ {
+ "stream": {
+ "name": "environments",
+ "json_schema": {},
+ "supported_sync_modes": ["full_refresh"]
+ },
+ "sync_mode": "full_refresh",
+ "destination_sync_mode": "overwrite"
+ }
+ ]
+}
diff --git a/airbyte-integrations/connectors/source-configcat/integration_tests/invalid_config.json b/airbyte-integrations/connectors/source-configcat/integration_tests/invalid_config.json
new file mode 100644
index 000000000000..7c98a32eeacb
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/integration_tests/invalid_config.json
@@ -0,0 +1,3 @@
+{
+ "username": "this should be an incomplete config file, used in standard tests"
+}
diff --git a/airbyte-integrations/connectors/source-configcat/integration_tests/sample_config.json b/airbyte-integrations/connectors/source-configcat/integration_tests/sample_config.json
new file mode 100644
index 000000000000..18c9245426b5
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/integration_tests/sample_config.json
@@ -0,0 +1,4 @@
+{
+ "username": "08dab91a-3029-4e2a-82dd-dt5a9219c6e3",
+ "password": "pRsAOW5AC03Jcm9NqiKg8Pb4u1bFooq7O2bNcPRu3nI="
+}
diff --git a/airbyte-integrations/connectors/source-configcat/integration_tests/sample_state.json b/airbyte-integrations/connectors/source-configcat/integration_tests/sample_state.json
new file mode 100644
index 000000000000..3587e579822d
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/integration_tests/sample_state.json
@@ -0,0 +1,5 @@
+{
+ "todo-stream-name": {
+ "todo-field-name": "value"
+ }
+}
diff --git a/airbyte-integrations/connectors/source-configcat/main.py b/airbyte-integrations/connectors/source-configcat/main.py
new file mode 100644
index 000000000000..376b395e114d
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/main.py
@@ -0,0 +1,13 @@
+#
+# Copyright (c) 2022 Airbyte, Inc., all rights reserved.
+#
+
+
+import sys
+
+from airbyte_cdk.entrypoint import launch
+from source_configcat import SourceConfigcat
+
+if __name__ == "__main__":
+ source = SourceConfigcat()
+ launch(source, sys.argv[1:])
diff --git a/airbyte-integrations/connectors/source-configcat/requirements.txt b/airbyte-integrations/connectors/source-configcat/requirements.txt
new file mode 100644
index 000000000000..0411042aa091
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/requirements.txt
@@ -0,0 +1,2 @@
+-e ../../bases/source-acceptance-test
+-e .
diff --git a/airbyte-integrations/connectors/source-configcat/setup.py b/airbyte-integrations/connectors/source-configcat/setup.py
new file mode 100644
index 000000000000..ebc053047688
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/setup.py
@@ -0,0 +1,29 @@
+#
+# Copyright (c) 2022 Airbyte, Inc., all rights reserved.
+#
+
+
+from setuptools import find_packages, setup
+
+MAIN_REQUIREMENTS = [
+ "airbyte-cdk~=0.1",
+]
+
+TEST_REQUIREMENTS = [
+ "pytest~=6.1",
+ "pytest-mock~=3.6.1",
+ "source-acceptance-test",
+]
+
+setup(
+ name="source_configcat",
+ description="Source implementation for Configcat.",
+ author="Airbyte",
+ author_email="contact@airbyte.io",
+ packages=find_packages(),
+ install_requires=MAIN_REQUIREMENTS,
+ package_data={"": ["*.json", "*.yaml", "schemas/*.json", "schemas/shared/*.json"]},
+ extras_require={
+ "tests": TEST_REQUIREMENTS,
+ },
+)
diff --git a/airbyte-integrations/connectors/source-configcat/source_configcat/__init__.py b/airbyte-integrations/connectors/source-configcat/source_configcat/__init__.py
new file mode 100644
index 000000000000..80fba4655ec5
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/source_configcat/__init__.py
@@ -0,0 +1,8 @@
+#
+# Copyright (c) 2022 Airbyte, Inc., all rights reserved.
+#
+
+
+from .source import SourceConfigcat
+
+__all__ = ["SourceConfigcat"]
diff --git a/airbyte-integrations/connectors/source-configcat/source_configcat/configcat.yaml b/airbyte-integrations/connectors/source-configcat/source_configcat/configcat.yaml
new file mode 100644
index 000000000000..bed9ea7cb4dd
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/source_configcat/configcat.yaml
@@ -0,0 +1,100 @@
+version: "0.1.0"
+
+definitions:
+ selector:
+ extractor:
+ field_pointer: []
+ requester:
+ url_base: "https://api.configcat.com/v1"
+ http_method: "GET"
+ authenticator:
+ type: BasicHttpAuthenticator
+ username: "{{ config['username'] }}"
+ password: "{{ config['password'] }}"
+ retriever:
+ record_selector:
+ $ref: "*ref(definitions.selector)"
+ paginator:
+ type: NoPagination
+ requester:
+ $ref: "*ref(definitions.requester)"
+ base_stream:
+ retriever:
+ $ref: "*ref(definitions.retriever)"
+ organizations_stream:
+ $ref: "*ref(definitions.base_stream)"
+ $options:
+ name: "organizations"
+ primary_key: "organizationId"
+ path: "/organizations"
+ products_stream:
+ $ref: "*ref(definitions.base_stream)"
+ $options:
+ name: "products"
+ primary_key: "productId"
+ path: "/products"
+ product_stream_slicer:
+ type: SubstreamSlicer
+ parent_stream_configs:
+ - stream: "*ref(definitions.products_stream)"
+ parent_key: productId
+ stream_slice_field: productId
+ tags_stream:
+ $ref: "*ref(definitions.base_stream)"
+ $options:
+ name: "tags"
+ primary_key: "tagId"
+ retriever:
+ $ref: "*ref(definitions.retriever)"
+ requester:
+ $ref: "*ref(definitions.requester)"
+ path: "/products/{{ stream_slice.productId }}/tags"
+ stream_slicer:
+ $ref: "*ref(definitions.product_stream_slicer)"
+ record_selector:
+ $ref: "*ref(definitions.selector)"
+ environments_stream:
+ $ref: "*ref(definitions.base_stream)"
+ $options:
+ name: "environments"
+ primary_key: "environmentId"
+ retriever:
+ $ref: "*ref(definitions.retriever)"
+ requester:
+ $ref: "*ref(definitions.requester)"
+ path: "/products/{{ stream_slice.productId }}/environments"
+ stream_slicer:
+ $ref: "*ref(definitions.product_stream_slicer)"
+ record_selector:
+ $ref: "*ref(definitions.selector)"
+ organization_stream_slicer:
+ type: SubstreamSlicer
+ parent_stream_configs:
+ - stream: "*ref(definitions.organizations_stream)"
+ parent_key: organizationId
+ stream_slice_field: organizationId
+ organization_members_stream:
+ $ref: "*ref(definitions.base_stream)"
+ $options:
+ name: "organization_members"
+ primary_key: "userId"
+ retriever:
+ $ref: "*ref(definitions.retriever)"
+ requester:
+ $ref: "*ref(definitions.requester)"
+ path: "/organizations/{{ stream_slice.organizationId }}/members"
+ stream_slicer:
+ $ref: "*ref(definitions.organization_stream_slicer)"
+ record_selector:
+ $ref: "*ref(definitions.selector)"
+
+streams:
+ - "*ref(definitions.organizations_stream)"
+ - "*ref(definitions.organization_members_stream)"
+ - "*ref(definitions.products_stream)"
+ - "*ref(definitions.tags_stream)"
+ - "*ref(definitions.environments_stream)"
+
+check:
+ stream_names:
+ - "organizations"
diff --git a/airbyte-integrations/connectors/source-configcat/source_configcat/schemas/environments.json b/airbyte-integrations/connectors/source-configcat/source_configcat/schemas/environments.json
new file mode 100644
index 000000000000..ca73ee9f1e4f
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/source_configcat/schemas/environments.json
@@ -0,0 +1,27 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "type": "object",
+ "properties": {
+ "product": {
+ "type": "object"
+ },
+ "environmentId": {
+ "type": ["null", "string"]
+ },
+ "name": {
+ "type": ["null", "string"]
+ },
+ "color": {
+ "type": ["null", "string"]
+ },
+ "description": {
+ "type": ["null", "string"]
+ },
+ "order": {
+ "type": ["null", "integer"]
+ },
+ "reasonRequired": {
+ "type": ["null", "boolean"]
+ }
+ }
+}
diff --git a/airbyte-integrations/connectors/source-configcat/source_configcat/schemas/organization_members.json b/airbyte-integrations/connectors/source-configcat/source_configcat/schemas/organization_members.json
new file mode 100644
index 000000000000..cf5e62a9c565
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/source_configcat/schemas/organization_members.json
@@ -0,0 +1,15 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "type": "object",
+ "properties": {
+ "userId": {
+ "type": "string"
+ },
+ "fullName": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string"
+ }
+ }
+}
diff --git a/airbyte-integrations/connectors/source-configcat/source_configcat/schemas/organizations.json b/airbyte-integrations/connectors/source-configcat/source_configcat/schemas/organizations.json
new file mode 100644
index 000000000000..36360da3c1be
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/source_configcat/schemas/organizations.json
@@ -0,0 +1,12 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "type": "object",
+ "properties": {
+ "organizationId": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ }
+}
diff --git a/airbyte-integrations/connectors/source-configcat/source_configcat/schemas/products.json b/airbyte-integrations/connectors/source-configcat/source_configcat/schemas/products.json
new file mode 100644
index 000000000000..dca01bcc5d79
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/source_configcat/schemas/products.json
@@ -0,0 +1,24 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "type": "object",
+ "properties": {
+ "organizationId": {
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "productId": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "order": {
+ "type": "integer"
+ },
+ "reasonRequired": {
+ "type": "boolean"
+ }
+ }
+}
diff --git a/airbyte-integrations/connectors/source-configcat/source_configcat/schemas/tags.json b/airbyte-integrations/connectors/source-configcat/source_configcat/schemas/tags.json
new file mode 100644
index 000000000000..a23529e9b591
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/source_configcat/schemas/tags.json
@@ -0,0 +1,18 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "type": "object",
+ "properties": {
+ "product": {
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "tagId": {
+ "type": "integer"
+ },
+ "color": {
+ "type": "string"
+ }
+ }
+}
diff --git a/airbyte-integrations/connectors/source-configcat/source_configcat/source.py b/airbyte-integrations/connectors/source-configcat/source_configcat/source.py
new file mode 100644
index 000000000000..840d14c60b31
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/source_configcat/source.py
@@ -0,0 +1,18 @@
+#
+# Copyright (c) 2022 Airbyte, Inc., all rights reserved.
+#
+
+from airbyte_cdk.sources.declarative.yaml_declarative_source import YamlDeclarativeSource
+
+"""
+This file provides the necessary constructs to interpret a provided declarative YAML configuration file into
+source connector.
+
+WARNING: Do not modify this file.
+"""
+
+
+# Declarative Source
+class SourceConfigcat(YamlDeclarativeSource):
+ def __init__(self):
+ super().__init__(**{"path_to_yaml": "configcat.yaml"})
diff --git a/airbyte-integrations/connectors/source-configcat/source_configcat/spec.yaml b/airbyte-integrations/connectors/source-configcat/source_configcat/spec.yaml
new file mode 100644
index 000000000000..f391aed901b7
--- /dev/null
+++ b/airbyte-integrations/connectors/source-configcat/source_configcat/spec.yaml
@@ -0,0 +1,23 @@
+documentationUrl: https://docs.airbyte.com/integrations/sources/configcat
+connectionSpecification:
+ $schema: http://json-schema.org/draft-07/schema#
+ title: Configcat Spec
+ type: object
+ required:
+ - username
+ - password
+ additionalProperties: true
+ properties:
+ username:
+ title: Username
+ type: string
+ description: >-
+ Basic auth user name. See here.
+ password:
+ title: Password
+ type: string
+ description: >-
+ Basic auth password. See here.
+ airbyte_secret: true
diff --git a/docs/integrations/sources/configcat.md b/docs/integrations/sources/configcat.md
new file mode 100644
index 000000000000..8459adef39b3
--- /dev/null
+++ b/docs/integrations/sources/configcat.md
@@ -0,0 +1,37 @@
+# Configcat API
+
+## Sync overview
+
+This source can sync data from the [Configcat API](https://api.configcat.com/docs). At present this connector only supports full refresh syncs meaning that each time you use the connector it will sync all available records from scratch. Please use cautiously if you expect your API to have a lot of records.
+
+## This Source Supports the Following Streams
+
+* organizations
+* organization_members
+* products
+* tags
+* environments
+
+### Features
+
+| Feature | Supported?\(Yes/No\) | Notes |
+| :--- | :--- | :--- |
+| Full Refresh Sync | Yes | |
+| Incremental Sync | No | |
+
+### Performance considerations
+
+Configcat APIs are under rate limits for the number of API calls allowed per API keys per second. If you reach a rate limit, API will return a 429 HTTP error code. See [here](https://api.configcat.com/docs/#section/Throttling-and-rate-limits)
+
+## Getting started
+
+### Requirements
+
+* Username
+* Password
+
+## Changelog
+
+| Version | Date | Pull Request | Subject |
+| :------ | :--------- | :-------------------------------------------------------- | :----------------------------------------- |
+| 0.1.0 | 2022-10-30 | [#18649](https://github.com/airbytehq/airbyte/pull/18649) | 🎉 New Source: Configcat API [low-code CDK] |
\ No newline at end of file