diff --git a/app/models/integrations/app.rb b/app/models/integrations/app.rb index dfe889bfa..2f37c1e4b 100644 --- a/app/models/integrations/app.rb +++ b/app/models/integrations/app.rb @@ -58,6 +58,8 @@ class Integrations::App account.feature_enabled?('shopify_integration') && GlobalConfigService.load('SHOPIFY_CLIENT_ID', nil).present? when 'leadsquared' account.feature_enabled?('crm_integration') + when 'notion' + account.feature_enabled?('notion_integration') && GlobalConfigService.load('NOTION_CLIENT_ID', nil).present? else true end diff --git a/config/features.yml b/config/features.yml index 131456c72..971fb19e9 100644 --- a/config/features.yml +++ b/config/features.yml @@ -168,4 +168,7 @@ enabled: true - name: crm_integration display_name: CRM Integration - enabled: false \ No newline at end of file + enabled: false +- name: notion_integration + display_name: Notion Integration + enabled: false