Skip to content

The open alternative to Salesforce, designed for AI.

Clarify self-hosted pricing CTAs and Organization license keys (#25941)

Thomas des Francs1ed1ca558383
diff --git a/packages/twenty-docs/images/user-guide/billing/enterprise-key.png b/packages/twenty-docs/images/user-guide/billing/enterprise-key.png
index ec628dc2fa1..da1303ffaa6 100644
Binary files a/packages/twenty-docs/images/user-guide/billing/enterprise-key.png and b/packages/twenty-docs/images/user-guide/billing/enterprise-key.png differ
diff --git a/packages/twenty-docs/images/user-guide/billing/organization-key.png b/packages/twenty-docs/images/user-guide/billing/organization-key.png
new file mode 100644
index 00000000000..da1303ffaa6
Binary files /dev/null and b/packages/twenty-docs/images/user-guide/billing/organization-key.png differ
diff --git a/packages/twenty-docs/user-guide/billing/capabilities/pricing-plans.mdx b/packages/twenty-docs/user-guide/billing/capabilities/pricing-plans.mdx
index f3edaea7159..ee1a924ef9a 100644
--- a/packages/twenty-docs/user-guide/billing/capabilities/pricing-plans.mdx
+++ b/packages/twenty-docs/user-guide/billing/capabilities/pricing-plans.mdx
@@ -74,15 +74,15 @@ Premium features are only available on the Organization plans (Cloud or Self-Hos
2. Click **Downgrade to Monthly**
3. Save with monthly billing
-## Obtain an Enterprise Key for Organization (Self-Hosted)
+## Get an Organization Key
-To use the Organization (Self-Hosted) plan, you need to obtain an Enterprise key:
+To use the Organization (Self-Hosted) plan, you need to obtain an Organization key:
1. Go to **Settings → Admin Panel → Enterprise**
-<img src="/images/user-guide/billing/enterprise-key.png" alt="Enterprise key" />
+<img src="/images/user-guide/billing/organization-key.png" alt="Organization key" />
-2. Click **Get Enterprise Key**
+2. Click **Get Organization Key**
3. When you are redirected to Stripe, enter your payment details and confirm
-4. When your Enterprise key is displayed, paste it into the Enterprise settings page and activate the Organization license
+4. When your Organization key is displayed, paste it into the Enterprise settings page and activate the Organization license
diff --git a/packages/twenty-docs/user-guide/billing/how-tos/billing-faq.mdx b/packages/twenty-docs/user-guide/billing/how-tos/billing-faq.mdx
index b7a9e9f9f43..655c7ea54cd 100644
--- a/packages/twenty-docs/user-guide/billing/how-tos/billing-faq.mdx
+++ b/packages/twenty-docs/user-guide/billing/how-tos/billing-faq.mdx
@@ -24,7 +24,7 @@ Premium features are only available on the Organization plans (Cloud or Self-Hos
</Accordion>
<Accordion title="Are the Cloud and Self-Hosted Organization plans the same?">
-They offer the same premium features. However, a cloud subscription cannot be used for self-hosted deployments. Self-hosted requires an Enterprise key.
+They offer the same premium features. However, a cloud subscription cannot be used for self-hosted deployments. Self-hosted requires an Organization key.
</Accordion>
<Accordion title="Do you offer free seats for view-only users?">
diff --git a/packages/twenty-front/src/modules/settings/admin-panel/ai/components/SettingsAdminAI.tsx b/packages/twenty-front/src/modules/settings/admin-panel/ai/components/SettingsAdminAI.tsx
index 501272ed283..2b277c2de7a 100644
--- a/packages/twenty-front/src/modules/settings/admin-panel/ai/components/SettingsAdminAI.tsx
+++ b/packages/twenty-front/src/modules/settings/admin-panel/ai/components/SettingsAdminAI.tsx
@@ -304,8 +304,8 @@ export const SettingsAdminAI = () => {
)
) : (
<SettingsEnterpriseFeatureGateCard
- title={t`Enterprise feature`}
- description={t`AI usage analytics across workspaces is available with an Enterprise key.`}
+ title={t`Organization feature`}
+ description={t`AI usage analytics across workspaces is available with an Organization key.`}
buttonTitle={t`Activate`}
/>
)}
diff --git a/packages/twenty-front/src/modules/settings/enterprise/components/EnterprisePlanModal.tsx b/packages/twenty-front/src/modules/settings/enterprise/components/EnterprisePlanModal.tsx
index 5fe94a2afa7..2ab89104402 100644
--- a/packages/twenty-front/src/modules/settings/enterprise/components/EnterprisePlanModal.tsx
+++ b/packages/twenty-front/src/modules/settings/enterprise/components/EnterprisePlanModal.tsx
@@ -148,7 +148,7 @@ export const EnterprisePlanModal = () => {
isClosable
>
<ModalContent isVerticallyCentered>
- <Title noMarginTop>{t`Get Enterprise`}</Title>
+ <Title noMarginTop>{t`Get Organization`}</Title>
<SubTitle>{t`Enjoy a 30-day free trial`}</SubTitle>
<StyledSubscriptionContainer>
diff --git a/packages/twenty-front/src/modules/settings/enterprise/graphql/mutations/setEnterpriseKey.ts b/packages/twenty-front/src/modules/settings/enterprise/graphql/mutations/setOrganizationKey.ts
similarity index 100%
rename from packages/twenty-front/src/modules/settings/enterprise/graphql/mutations/setEnterpriseKey.ts
rename to packages/twenty-front/src/modules/settings/enterprise/graphql/mutations/setOrganizationKey.ts
diff --git a/packages/twenty-front/src/pages/settings/ai/components/SettingsAiUsageTab.tsx b/packages/twenty-front/src/pages/settings/ai/components/SettingsAiUsageTab.tsx
index 4cbc1bea0b7..2ed317e255c 100644
--- a/packages/twenty-front/src/pages/settings/ai/components/SettingsAiUsageTab.tsx
+++ b/packages/twenty-front/src/pages/settings/ai/components/SettingsAiUsageTab.tsx
@@ -44,8 +44,8 @@ export const SettingsAiUsageTab = () => {
adornment={<OrganizationAdornment />}
/>
<SettingsEnterpriseFeatureGateCard
- title={t`Enterprise feature`}
- description={t`AI usage analytics is available with an Enterprise key.`}
+ title={t`Organization feature`}
+ description={t`AI usage analytics is available with an Organization key.`}
buttonTitle={t`Activate`}
/>
</Section>
diff --git a/packages/twenty-front/src/pages/settings/enterprise/SettingsEnterprise.tsx b/packages/twenty-front/src/pages/settings/enterprise/SettingsEnterprise.tsx
index 5a9ae52a463..2b8a955c2f4 100644
--- a/packages/twenty-front/src/pages/settings/enterprise/SettingsEnterprise.tsx
+++ b/packages/twenty-front/src/pages/settings/enterprise/SettingsEnterprise.tsx
@@ -15,7 +15,7 @@ import {
} from '@/settings/enterprise/components/EnterprisePlanModal';
import { REFRESH_ENTERPRISE_VALIDITY_TOKEN } from '@/settings/enterprise/graphql/mutations/refreshEnterpriseValidityToken';
import { RELEASE_ENTERPRISE_SERVER_BINDING } from '@/settings/enterprise/graphql/mutations/releaseEnterpriseServerBinding';
-import { SET_ENTERPRISE_KEY } from '@/settings/enterprise/graphql/mutations/setEnterpriseKey';
+import { SET_ENTERPRISE_KEY } from '@/settings/enterprise/graphql/mutations/setOrganizationKey';
import { ENTERPRISE_PORTAL_SESSION } from '@/settings/enterprise/graphql/queries/enterprisePortalSession';
import { ENTERPRISE_SUBSCRIPTION_STATUS } from '@/settings/enterprise/graphql/queries/enterpriseSubscriptionStatus';
import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';
@@ -254,7 +254,7 @@ export const SettingsEnterprise = ({
const cancellationMessage =
isCancelScheduled && isDefined(cancelAt)
- ? t`Your enterprise features will remain active until ${cancelAtDate}.`
+ ? t`Your premium features will remain active until ${cancelAtDate}.`
: null;
const cancellationOrPeriodEndDate = isCancelScheduled
@@ -276,7 +276,7 @@ export const SettingsEnterprise = ({
if (result.data?.setEnterpriseKey.isValid === true) {
enqueueSuccessSnackBar({
- message: t`Enterprise license activated successfully`,
+ message: t`Organization license activated successfully`,
});
setEnterpriseKey('');
const { data: statusData } = await fetchSubscriptionStatus();
@@ -285,7 +285,7 @@ export const SettingsEnterprise = ({
await loadCurrentUser();
} else {
enqueueErrorSnackBar({
- message: t`Failed to activate enterprise license. Please check your key or contact support.`,
+ message: t`Failed to activate Organization license. Please check your key or contact support.`,
});
}
} catch (error) {
@@ -316,7 +316,7 @@ export const SettingsEnterprise = ({
});
} else {
enqueueErrorSnackBar({
- message: t`Error activating enterprise license`,
+ message: t`Error activating Organization license`,
});
}
} finally {
@@ -348,7 +348,7 @@ export const SettingsEnterprise = ({
window.open(portalUrl, '_blank', 'noopener');
} else {
enqueueErrorSnackBar({
- message: t`Could not open billing portal. Please check your enterprise key is present, or contact support.`,
+ message: t`Could not open billing portal. Please check your Organization key is present, or contact support.`,
});
}
} catch {
@@ -427,7 +427,7 @@ export const SettingsEnterprise = ({
if (result.data?.releaseEnterpriseServerBinding.isValid === true) {
setIsBoundToAnotherServer(false);
enqueueSuccessSnackBar({
- message: t`Enterprise key transferred to this server`,
+ message: t`Organization key transferred to this server`,
});
const { data: statusData } = await fetchSubscriptionStatus();
@@ -435,17 +435,17 @@ export const SettingsEnterprise = ({
await loadCurrentUser();
} else {
enqueueErrorSnackBar({
- message: t`Could not transfer the enterprise key. Please contact support.`,
+ message: t`Could not transfer the Organization key. Please contact support.`,
});
}
} catch (error) {
if (isGraphqlErrorOfType(error, 'ENTERPRISE_RELEASE_RATE_LIMITED')) {
enqueueErrorSnackBar({
- message: t`You have reached the maximum number of server transfers allowed in the last 30 days for this enterprise key. Please try again later or contact support.`,
+ message: t`You have reached the maximum number of server transfers allowed in the last 30 days for this Organization key. Please try again later or contact support.`,
});
} else {
enqueueErrorSnackBar({
- message: t`Error transferring the enterprise key`,
+ message: t`Error transferring the Organization key`,
});
}
} finally {
@@ -532,16 +532,16 @@ export const SettingsEnterprise = ({
const activateKeySection = (
<Section>
<H2Title
- title={t`Activate Enterprise Key`}
- description={t`Paste your enterprise key below to activate. Keep a copy of this key somewhere safe: the same key is reused to set up a development instance or to move your license to a replacement server.`}
+ title={t`Activate Organization Key`}
+ description={t`Paste your Organization key below to activate. Keep a copy of this key somewhere safe: the same key is reused to set up a development instance or to move your license to a replacement server.`}
/>
<StyledInputContainer>
<StyledInputWrapper>
<SettingsTextInput
- instanceId="enterprise-key-input"
+ instanceId="organization-key-input"
value={enterpriseKey}
onChange={(value) => setEnterpriseKey(value)}
- placeholder={t`Paste your enterprise key here`}
+ placeholder={t`Paste your Organization key here`}
fullWidth
onInputEnter={handleActivate}
/>
@@ -563,7 +563,7 @@ export const SettingsEnterprise = ({
<Section>
<H2Title
title={t`Key in use on another server`}
- description={t`This enterprise key is already bound to a different server instance. Releasing it here will transfer the license to this server and stop counting seats on the previous one.`}
+ description={t`This Organization key is already bound to a different server instance. Releasing it here will transfer the license to this server and stop counting seats on the previous one.`}
/>
<Button
Icon={IconKey}
@@ -585,8 +585,8 @@ export const SettingsEnterprise = ({
const enterpriseKeyInfoSection = (
<Section>
<H2Title
- title={t`Your enterprise key`}
- description={t`This server has an enterprise key configured. Make sure you keep a copy of it somewhere safe: you need the same key to activate a development instance or to move your license to a replacement server. If you no longer have access to your key, contact support.`}
+ title={t`Your Organization key`}
+ description={t`This server has an Organization key configured. Make sure you keep a copy of it somewhere safe: you need the same key to activate a development instance or to move your license to a replacement server. If you no longer have access to your key, contact support.`}
/>
</Section>
);
@@ -598,7 +598,7 @@ export const SettingsEnterprise = ({
description={
instanceType === ENTERPRISE_INSTANCE_TYPE.DEVELOPMENT
? t`This server is registered as a development instance and is not billed additionally. A subscription can have a single development instance in addition to its production one. Switching it back to a production instance will make its seats count toward billing.`
- : t`One subscription provides one enterprise key that powers one production instance and one potential staging or test instance. To run a staging or test environment, install Twenty on a second server, activate it with this same enterprise key, then register that server as a development instance. Development instances unlock enterprise features without extra billing and do not count toward your production seats.`
+ : t`One subscription provides one Organization key that powers one production instance and one potential staging or test instance. To run a staging or test environment, install Twenty on a second server, activate it with this same Organization key, then register that server as a development instance. Development instances unlock premium features without extra billing and do not count toward your production seats.`
}
/>
{instanceType === ENTERPRISE_INSTANCE_TYPE.DEVELOPMENT ? (
@@ -641,12 +641,12 @@ export const SettingsEnterprise = ({
<>
<Section>
<H2Title
- title={t`Enterprise License`}
- description={t`Your enterprise features are active but your enterprise key is missing or invalid. This may be expected, but if not, please set a valid signed enterprise key to manage your subscription, or contact support.`}
+ title={t`Organization License`}
+ description={t`Your premium features are active but your Organization key is missing or invalid. This may be expected, but if not, please set a valid signed Organization key to manage your subscription, or contact support.`}
/>
<Button
Icon={IconKey}
- title={t`Get Enterprise Key`}
+ title={t`Get Organization Key`}
variant="secondary"
onClick={openCheckoutModal}
/>
@@ -661,12 +661,12 @@ export const SettingsEnterprise = ({
<>
<Section>
<H2Title
- title={t`Get Enterprise`}
- description={t`Unlock enterprise features like SSO, row-level security, and audit logs.`}
+ title={t`Get Organization`}
+ description={t`Unlock premium features like SSO, row-level security, and audit logs.`}
/>
<Button
Icon={IconKey}
- title={t`Get Enterprise Key`}
+ title={t`Get Organization Key`}
variant="secondary"
onClick={openCheckoutModal}
/>
@@ -681,7 +681,7 @@ export const SettingsEnterprise = ({
<>
<Section>
<H2Title
- title={t`Enterprise License`}
+ title={t`Organization License`}
description={t`Your subscription is active but your validity token is invalid or has expired. Try reloading it or contact support.`}
/>
<Button
@@ -748,11 +748,11 @@ export const SettingsEnterprise = ({
<>
<Section>
<H2Title
- title={t`Enterprise License`}
+ title={t`Organization License`}
description={
isCancelScheduled
? t`Your subscription is scheduled for cancellation`
- : t`Your enterprise features are active`
+ : t`Your premium features are active`
}
/>
<SubscriptionInfoContainer>
@@ -811,7 +811,7 @@ export const SettingsEnterprise = ({
<Section>
<H2Title
title={t`Cancel your subscription`}
- description={t`Your enterprise features will be disabled`}
+ description={t`Your premium features will be disabled`}
/>
<Button
Icon={IconCircleX}
@@ -831,8 +831,8 @@ export const SettingsEnterprise = ({
<>
<Section>
<H2Title
- title={t`Enterprise License`}
- description={t`Your enterprise subscription has been canceled.`}
+ title={t`Organization License`}
+ description={t`Your Organization subscription has been canceled.`}
/>
<SubscriptionInfoContainer>
<SubscriptionInfoRowContainer
@@ -861,12 +861,12 @@ export const SettingsEnterprise = ({
</Section>
<Section>
<H2Title
- title={t`Get Enterprise`}
- description={t`Start a new enterprise subscription to re-enable enterprise features.`}
+ title={t`Get Organization`}
+ description={t`Start a new Organization subscription to re-enable premium features.`}
/>
<Button
Icon={IconKey}
- title={t`Get Enterprise Key`}
+ title={t`Get Organization Key`}
variant="secondary"
onClick={openCheckoutModal}
/>
@@ -881,11 +881,11 @@ export const SettingsEnterprise = ({
<>
<Section>
<H2Title
- title={t`Enterprise License`}
+ title={t`Organization License`}
description={
hasValidityToken
- ? t`A payment on your subscription failed. Your enterprise features stay active while we retry it.`
- : t`There is a payment issue with your subscription. Your enterprise features are disabled. Settle the outstanding invoice to restore them, before the subscription is cancelled: a cancelled subscription cannot be reactivated and you would need to start a new one.`
+ ? t`A payment on your subscription failed. Your premium features stay active while we retry it.`
+ : t`There is a payment issue with your subscription. Your premium features are disabled. Settle the outstanding invoice to restore them, before the subscription is cancelled: a cancelled subscription cannot be reactivated and you would need to start a new one.`
}
/>
<SubscriptionInfoContainer>
@@ -932,8 +932,8 @@ export const SettingsEnterprise = ({
title={t`Update payment method`}
description={
hasValidityToken
- ? t`Fix the payment issue to keep your enterprise features active.`
- : t`Fix the payment issue to restore your enterprise features.`
+ ? t`Fix the payment issue to keep your premium features active.`
+ : t`Fix the payment issue to restore your premium features.`
}
/>
<Button
@@ -953,7 +953,7 @@ export const SettingsEnterprise = ({
<>
<Section>
<H2Title
- title={t`Enterprise License`}
+ title={t`Organization License`}
description={t`Your subscription setup was not completed.`}
/>
<SubscriptionInfoContainer>
@@ -971,12 +971,12 @@ export const SettingsEnterprise = ({
</Section>
<Section>
<H2Title
- title={t`Get Enterprise`}
- description={t`Start a new enterprise subscription.`}
+ title={t`Get Organization`}
+ description={t`Start a new Organization subscription.`}
/>
<Button
Icon={IconKey}
- title={t`Get Enterprise Key`}
+ title={t`Get Organization Key`}
onClick={openCheckoutModal}
/>
</Section>
@@ -989,7 +989,7 @@ export const SettingsEnterprise = ({
<>
<Section>
<H2Title
- title={t`Enterprise License`}
+ title={t`Organization License`}
description={(() => {
const statusLabel = stripeStatus ?? 'unknown';
@@ -1015,8 +1015,8 @@ export const SettingsEnterprise = ({
<EnterprisePlanModal />
<ConfirmationModal
modalInstanceId={RELEASE_ENTERPRISE_BINDING_CONFIRMATION_MODAL_ID}
- title={t`Release & transfer enterprise key`}
- subtitle={t`This enterprise key is currently bound to a different server instance. Transferring it here will release it from the previous server and stop counting seats on it. Are you sure you want to continue?`}
+ title={t`Release & transfer Organization key`}
+ subtitle={t`This Organization key is currently bound to a different server instance. Transferring it here will release it from the previous server and stop counting seats on it. Are you sure you want to continue?`}
confirmButtonText={t`Release & transfer`}
confirmButtonAccent="blue"
loading={isReleasing}
diff --git a/packages/twenty-server/src/database/commands/cron-register-all.command.ts b/packages/twenty-server/src/database/commands/cron-register-all.command.ts
index 36f7bf02439..45299a570be 100644
--- a/packages/twenty-server/src/database/commands/cron-register-all.command.ts
+++ b/packages/twenty-server/src/database/commands/cron-register-all.command.ts
@@ -9,7 +9,7 @@ import { ApplicationVersionCheckCronCommand } from 'src/engine/core-modules/appl
import { ApplicationRecurringChargeCronCommand } from 'src/engine/core-modules/billing/app-billing/crons/commands/application-recurring-charge.cron.command';
import { BillingReminderCronCommand } from 'src/engine/core-modules/billing/reminders/crons/commands/billing-reminder.cron.command';
import { CheckEmailingDomainVerificationCronCommand } from 'src/engine/core-modules/emailing-domain/crons/commands/check-emailing-domain-verification.cron.command';
-import { EnterpriseKeyValidationCronCommand } from 'src/engine/core-modules/enterprise/cron/command/enterprise-key-validation.cron.command';
+import { EnterpriseKeyValidationCronCommand } from 'src/engine/core-modules/enterprise/cron/command/organization-key-validation.cron.command';
import { EventLogCleanupCronCommand } from 'src/engine/core-modules/event-logs/cleanup/commands/event-log-cleanup.cron.command';
import { PendingFileCleanupCronCommand } from 'src/engine/core-modules/file/file-upload/crons/commands/pending-file-cleanup.cron.command';
import { RotateSigningKeysCronCommand } from 'src/engine/core-modules/jwt/crons/commands/rotate-signing-keys.cron.command';
diff --git a/packages/twenty-server/src/database/commands/database-command.module.ts b/packages/twenty-server/src/database/commands/database-command.module.ts
index fd0b3a9f872..b6bbe4e6181 100644
--- a/packages/twenty-server/src/database/commands/database-command.module.ts
+++ b/packages/twenty-server/src/database/commands/database-command.module.ts
@@ -25,7 +25,7 @@ import { ApplicationModule } from 'src/engine/core-modules/application/applicati
import { PreInstalledAppsModule } from 'src/engine/core-modules/application/pre-installed-apps/pre-installed-apps.module';
import { ApplicationRecurringChargeModule } from 'src/engine/core-modules/billing/app-billing/application-recurring-charge.module';
import { BillingReminderModule } from 'src/engine/core-modules/billing/reminders/billing-reminder.module';
-import { EnterpriseKeyValidationCronCommand } from 'src/engine/core-modules/enterprise/cron/command/enterprise-key-validation.cron.command';
+import { EnterpriseKeyValidationCronCommand } from 'src/engine/core-modules/enterprise/cron/command/organization-key-validation.cron.command';
import { EnterpriseModule } from 'src/engine/core-modules/enterprise/enterprise.module';
import { EventLogCleanupModule } from 'src/engine/core-modules/event-logs/cleanup/event-log-cleanup.module';
import { FeatureFlagModule } from 'src/engine/core-modules/feature-flag/feature-flag.module';
diff --git a/packages/twenty-server/src/engine/core-modules/admin-panel/services/__tests__/admin-panel-ai-provider.service.spec.ts b/packages/twenty-server/src/engine/core-modules/admin-panel/services/__tests__/admin-panel-ai-provider.service.spec.ts
index 2596076cb19..3db9571df6c 100644
--- a/packages/twenty-server/src/engine/core-modules/admin-panel/services/__tests__/admin-panel-ai-provider.service.spec.ts
+++ b/packages/twenty-server/src/engine/core-modules/admin-panel/services/__tests__/admin-panel-ai-provider.service.spec.ts
@@ -3,7 +3,7 @@
import { Test, type TestingModule } from '@nestjs/testing';
import { AdminPanelAiProviderService } from 'src/engine/core-modules/admin-panel/services/admin-panel-ai-provider.service';
-import { MAX_SEATS_WITHOUT_ENTERPRISE_KEY } from 'src/engine/core-modules/enterprise/constants/max-seats-without-enterprise-key.constant';
+import { MAX_SEATS_WITHOUT_ENTERPRISE_KEY } from 'src/engine/core-modules/enterprise/constants/max-seats-without-organization-key.constant';
import { EnterpriseExceptionCode } from 'src/engine/core-modules/enterprise/enterprise.exception';
import { CustomAiProviderAccessService } from 'src/engine/core-modules/enterprise/services/custom-ai-provider-access.service';
import { EnterprisePlanService } from 'src/engine/core-modules/enterprise/services/enterprise-plan.service';
diff --git a/packages/twenty-server/src/engine/core-modules/admin-panel/services/admin-panel-ai-provider.service.ts b/packages/twenty-server/src/engine/core-modules/admin-panel/services/admin-panel-ai-provider.service.ts
index 0e98d0437a7..bfe8a809e01 100644
--- a/packages/twenty-server/src/engine/core-modules/admin-panel/services/admin-panel-ai-provider.service.ts
+++ b/packages/twenty-server/src/engine/core-modules/admin-panel/services/admin-panel-ai-provider.service.ts
@@ -2,7 +2,7 @@
import { Injectable } from '@nestjs/common';
-import { MAX_SEATS_WITHOUT_ENTERPRISE_KEY } from 'src/engine/core-modules/enterprise/constants/max-seats-without-enterprise-key.constant';
+import { MAX_SEATS_WITHOUT_ENTERPRISE_KEY } from 'src/engine/core-modules/enterprise/constants/max-seats-without-organization-key.constant';
import {
EnterpriseException,
EnterpriseExceptionCode,
diff --git a/packages/twenty-server/src/engine/core-modules/auth/constants/max-workspaces-without-enterprise-key.constants.ts b/packages/twenty-server/src/engine/core-modules/auth/constants/max-workspaces-without-organization-key.constants.ts
similarity index 100%
rename from packages/twenty-server/src/engine/core-modules/auth/constants/max-workspaces-without-enterprise-key.constants.ts
rename to packages/twenty-server/src/engine/core-modules/auth/constants/max-workspaces-without-organization-key.constants.ts
diff --git a/packages/twenty-server/src/engine/core-modules/auth/services/sign-in-up.service.ts b/packages/twenty-server/src/engine/core-modules/auth/services/sign-in-up.service.ts
index 3b7b26c7063..47ac1e0f082 100644
--- a/packages/twenty-server/src/engine/core-modules/auth/services/sign-in-up.service.ts
+++ b/packages/twenty-server/src/engine/core-modules/auth/services/sign-in-up.service.ts
@@ -37,7 +37,7 @@ import {
compareHash,
hashPassword,
} from 'src/engine/core-modules/auth/auth.util';
-import { MAX_WORKSPACES_WITHOUT_ENTERPRISE_KEY } from 'src/engine/core-modules/auth/constants/max-workspaces-without-enterprise-key.constants';
+import { MAX_WORKSPACES_WITHOUT_ENTERPRISE_KEY } from 'src/engine/core-modules/auth/constants/max-workspaces-without-organization-key.constants';
import { getSignUpWithoutWorkspaceDecision } from 'src/engine/core-modules/auth/utils/get-sign-up-without-workspace-decision.util';
import { hasProvisionedSignUpDestination } from 'src/engine/core-modules/auth/utils/has-provisioned-sign-up-destination.util';
import { DEFAULT_DPA_REGION } from 'src/engine/core-modules/dpa/config/dpa-region-config.constant';
@@ -597,7 +597,7 @@ export class SignInUpService {
`Cannot create more than ${MAX_WORKSPACES_WITHOUT_ENTERPRISE_KEY} workspaces without a valid enterprise key`,
AuthExceptionCode.FORBIDDEN_EXCEPTION,
{
- userFriendlyMessage: msg`Workspace limit reached. A valid enterprise key is required to create more workspaces.`,
+ userFriendlyMessage: msg`Workspace limit reached. A valid Organization key is required to create more workspaces.`,
},
);
}
diff --git a/packages/twenty-server/src/engine/core-modules/enterprise/constants/max-seats-without-enterprise-key.constant.ts b/packages/twenty-server/src/engine/core-modules/enterprise/constants/max-seats-without-organization-key.constant.ts
similarity index 100%
rename from packages/twenty-server/src/engine/core-modules/enterprise/constants/max-seats-without-enterprise-key.constant.ts
rename to packages/twenty-server/src/engine/core-modules/enterprise/constants/max-seats-without-organization-key.constant.ts
diff --git a/packages/twenty-server/src/engine/core-modules/enterprise/constants/enterprise-key-validation-cron-pattern.constant.ts b/packages/twenty-server/src/engine/core-modules/enterprise/constants/organization-key-validation-cron-pattern.constant.ts
similarity index 100%
rename from packages/twenty-server/src/engine/core-modules/enterprise/constants/enterprise-key-validation-cron-pattern.constant.ts
rename to packages/twenty-server/src/engine/core-modules/enterprise/constants/organization-key-validation-cron-pattern.constant.ts
diff --git a/packages/twenty-server/src/engine/core-modules/enterprise/cron/command/enterprise-key-validation.cron.command.ts b/packages/twenty-server/src/engine/core-modules/enterprise/cron/command/organization-key-validation.cron.command.ts
similarity index 88%
rename from packages/twenty-server/src/engine/core-modules/enterprise/cron/command/enterprise-key-validation.cron.command.ts
rename to packages/twenty-server/src/engine/core-modules/enterprise/cron/command/organization-key-validation.cron.command.ts
index 181f0858af9..f8556ffc5f5 100644
--- a/packages/twenty-server/src/engine/core-modules/enterprise/cron/command/enterprise-key-validation.cron.command.ts
+++ b/packages/twenty-server/src/engine/core-modules/enterprise/cron/command/organization-key-validation.cron.command.ts
@@ -2,8 +2,8 @@
import { Command, CommandRunner } from 'nest-commander';
-import { ENTERPRISE_KEY_VALIDATION_CRON_PATTERN } from 'src/engine/core-modules/enterprise/constants/enterprise-key-validation-cron-pattern.constant';
-import { EnterpriseKeyValidationCronJob } from 'src/engine/core-modules/enterprise/cron/jobs/enterprise-key-validation.cron.job';
+import { ENTERPRISE_KEY_VALIDATION_CRON_PATTERN } from 'src/engine/core-modules/enterprise/constants/organization-key-validation-cron-pattern.constant';
+import { EnterpriseKeyValidationCronJob } from 'src/engine/core-modules/enterprise/cron/jobs/organization-key-validation.cron.job';
import { InjectMessageQueue } from 'src/engine/core-modules/message-queue/decorators/message-queue.decorator';
import { MessageQueue } from 'src/engine/core-modules/message-queue/message-queue.constants';
import { MessageQueueService } from 'src/engine/core-modules/message-queue/services/message-queue.service';
diff --git a/packages/twenty-server/src/engine/core-modules/enterprise/cron/jobs/enterprise-key-validation.cron.job.ts b/packages/twenty-server/src/engine/core-modules/enterprise/cron/jobs/organization-key-validation.cron.job.ts
similarity index 96%
rename from packages/twenty-server/src/engine/core-modules/enterprise/cron/jobs/enterprise-key-validation.cron.job.ts
rename to packages/twenty-server/src/engine/core-modules/enterprise/cron/jobs/organization-key-validation.cron.job.ts
index e055b5aa310..34cfcc708de 100644
--- a/packages/twenty-server/src/engine/core-modules/enterprise/cron/jobs/enterprise-key-validation.cron.job.ts
+++ b/packages/twenty-server/src/engine/core-modules/enterprise/cron/jobs/organization-key-validation.cron.job.ts
@@ -3,7 +3,7 @@
import { Injectable, Logger } from '@nestjs/common';
import { SentryCronMonitor } from 'src/engine/core-modules/cron/sentry-cron-monitor.decorator';
-import { ENTERPRISE_KEY_VALIDATION_CRON_PATTERN } from 'src/engine/core-modules/enterprise/constants/enterprise-key-validation-cron-pattern.constant';
+import { ENTERPRISE_KEY_VALIDATION_CRON_PATTERN } from 'src/engine/core-modules/enterprise/constants/organization-key-validation-cron-pattern.constant';
import { EnterprisePlanService } from 'src/engine/core-modules/enterprise/services/enterprise-plan.service';
import { Process } from 'src/engine/core-modules/message-queue/decorators/process.decorator';
import { Processor } from 'src/engine/core-modules/message-queue/decorators/processor.decorator';
diff --git a/packages/twenty-server/src/engine/core-modules/enterprise/enterprise.exception.ts b/packages/twenty-server/src/engine/core-modules/enterprise/enterprise.exception.ts
index b50ecb2b43f..0b8f2b81e6e 100644
--- a/packages/twenty-server/src/engine/core-modules/enterprise/enterprise.exception.ts
+++ b/packages/twenty-server/src/engine/core-modules/enterprise/enterprise.exception.ts
@@ -4,7 +4,7 @@ import { type MessageDescriptor } from '@lingui/core';
import { msg } from '@lingui/core/macro';
import { assertUnreachable } from 'twenty-shared/utils';
-import { MAX_SEATS_WITHOUT_ENTERPRISE_KEY } from 'src/engine/core-modules/enterprise/constants/max-seats-without-enterprise-key.constant';
+import { MAX_SEATS_WITHOUT_ENTERPRISE_KEY } from 'src/engine/core-modules/enterprise/constants/max-seats-without-organization-key.constant';
import { CustomException } from 'src/utils/custom-exception';
export enum EnterpriseExceptionCode {
@@ -24,23 +24,23 @@ const getEnterpriseExceptionUserFriendlyMessage = (
) => {
switch (code) {
case EnterpriseExceptionCode.INVALID_ENTERPRISE_KEY:
- return msg`Invalid enterprise key.`;
+ return msg`Invalid Organization key.`;
case EnterpriseExceptionCode.CONFIG_VARIABLES_IN_DB_DISABLED:
return msg`IS_CONFIG_VARIABLES_IN_DB_ENABLED is false on your server. Please add ENTERPRISE_KEY to your .env file manually.`;
case EnterpriseExceptionCode.ENTERPRISE_KEY_BOUND_TO_ANOTHER_SERVER:
- return msg`This enterprise key is already in use on another server instance. Release it from that server, or transfer it to this one.`;
+ return msg`This Organization key is already in use on another server instance. Release it from that server, or transfer it to this one.`;
case EnterpriseExceptionCode.ENTERPRISE_MISSING_SERVER_ID:
return msg`This instance did not report a server identifier. Set SERVER_ID on this instance, then try again.`;
case EnterpriseExceptionCode.ENTERPRISE_DEV_REQUIRES_ACTIVE_PRODUCTION:
- return msg`A free development instance requires an active production instance on this enterprise subscription.`;
+ return msg`A free development instance requires an active production instance on this Organization subscription.`;
case EnterpriseExceptionCode.ENTERPRISE_DEV_SLOT_IN_USE:
- return msg`The development instance slot for this enterprise key is already in use on another server.`;
+ return msg`The development instance slot for this Organization key is already in use on another server.`;
case EnterpriseExceptionCode.ENTERPRISE_RELEASE_RATE_LIMITED:
- return msg`You have reached the maximum number of server transfers allowed in the last 30 days for this enterprise key. Please try again later.`;
+ return msg`You have reached the maximum number of server transfers allowed in the last 30 days for this Organization key. Please try again later.`;
case EnterpriseExceptionCode.ENTERPRISE_VALIDITY_TOKEN_RATE_LIMITED:
- return msg`You have reached the maximum number of license refreshes allowed today for this enterprise key. Please try again later.`;
+ return msg`You have reached the maximum number of license refreshes allowed today for this Organization key. Please try again later.`;
case EnterpriseExceptionCode.ENTERPRISE_SEAT_THRESHOLD_EXCEEDED:
- return msg`This feature is complimentary up to ${MAX_SEATS_WITHOUT_ENTERPRISE_KEY} seats. Your instance is above that, so an enterprise key is required.`;
+ return msg`This feature is complimentary up to ${MAX_SEATS_WITHOUT_ENTERPRISE_KEY} seats. Your instance is above that, so an Organization key is required.`;
default:
assertUnreachable(code);
}
diff --git a/packages/twenty-server/src/engine/core-modules/enterprise/enterprise.module.ts b/packages/twenty-server/src/engine/core-modules/enterprise/enterprise.module.ts
index 2feb9496660..89d8c004c70 100644
--- a/packages/twenty-server/src/engine/core-modules/enterprise/enterprise.module.ts
+++ b/packages/twenty-server/src/engine/core-modules/enterprise/enterprise.module.ts
@@ -4,7 +4,7 @@ import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AppTokenEntity } from 'src/engine/core-modules/app-token/app-token.entity';
-import { EnterpriseKeyValidationCronJob } from 'src/engine/core-modules/enterprise/cron/jobs/enterprise-key-validation.cron.job';
+import { EnterpriseKeyValidationCronJob } from 'src/engine/core-modules/enterprise/cron/jobs/organization-key-validation.cron.job';
import { EnterpriseResolver } from 'src/engine/core-modules/enterprise/enterprise.resolver';
import { CustomAiProviderAccessService } from 'src/engine/core-modules/enterprise/services/custom-ai-provider-access.service';
import { EnterprisePlanService } from 'src/engine/core-modules/enterprise/services/enterprise-plan.service';
diff --git a/packages/twenty-server/src/engine/core-modules/enterprise/services/__tests__/custom-ai-provider-access.service.spec.ts b/packages/twenty-server/src/engine/core-modules/enterprise/services/__tests__/custom-ai-provider-access.service.spec.ts
index 4b62b4fe2c1..35ec16f09e7 100644
--- a/packages/twenty-server/src/engine/core-modules/enterprise/services/__tests__/custom-ai-provider-access.service.spec.ts
+++ b/packages/twenty-server/src/engine/core-modules/enterprise/services/__tests__/custom-ai-provider-access.service.spec.ts
@@ -4,7 +4,7 @@ import { Test, type TestingModule } from '@nestjs/testing';
import { CUSTOM_AI_PROVIDER_ACCESS_REFRESH_INTERVAL_MS } from 'src/engine/core-modules/enterprise/constants/custom-ai-provider-access-refresh-interval.constant';
import { CUSTOM_AI_PROVIDER_ACCESS_RETRY_INTERVAL_MS } from 'src/engine/core-modules/enterprise/constants/custom-ai-provider-access-retry-interval.constant';
-import { MAX_SEATS_WITHOUT_ENTERPRISE_KEY } from 'src/engine/core-modules/enterprise/constants/max-seats-without-enterprise-key.constant';
+import { MAX_SEATS_WITHOUT_ENTERPRISE_KEY } from 'src/engine/core-modules/enterprise/constants/max-seats-without-organization-key.constant';
import { CustomAiProviderAccessService } from 'src/engine/core-modules/enterprise/services/custom-ai-provider-access.service';
import { EnterprisePlanService } from 'src/engine/core-modules/enterprise/services/enterprise-plan.service';
import { TwentyConfigService } from 'src/engine/core-modules/twenty-config/twenty-config.service';
diff --git a/packages/twenty-server/src/engine/core-modules/enterprise/services/custom-ai-provider-access.service.ts b/packages/twenty-server/src/engine/core-modules/enterprise/services/custom-ai-provider-access.service.ts
index 53800775136..29db9c3d8b1 100644
--- a/packages/twenty-server/src/engine/core-modules/enterprise/services/custom-ai-provider-access.service.ts
+++ b/packages/twenty-server/src/engine/core-modules/enterprise/services/custom-ai-provider-access.service.ts
@@ -6,7 +6,7 @@ import { isDefined } from 'twenty-shared/utils';
import { CUSTOM_AI_PROVIDER_ACCESS_REFRESH_INTERVAL_MS } from 'src/engine/core-modules/enterprise/constants/custom-ai-provider-access-refresh-interval.constant';
import { CUSTOM_AI_PROVIDER_ACCESS_RETRY_INTERVAL_MS } from 'src/engine/core-modules/enterprise/constants/custom-ai-provider-access-retry-interval.constant';
-import { MAX_SEATS_WITHOUT_ENTERPRISE_KEY } from 'src/engine/core-modules/enterprise/constants/max-seats-without-enterprise-key.constant';
+import { MAX_SEATS_WITHOUT_ENTERPRISE_KEY } from 'src/engine/core-modules/enterprise/constants/max-seats-without-organization-key.constant';
import { EnterprisePlanService } from 'src/engine/core-modules/enterprise/services/enterprise-plan.service';
import { hasCustomAiProviderAccess } from 'src/engine/core-modules/enterprise/utils/has-custom-ai-provider-access.util';
import { TwentyConfigService } from 'src/engine/core-modules/twenty-config/twenty-config.service';
diff --git a/packages/twenty-server/src/engine/core-modules/enterprise/services/enterprise-plan.service.ts b/packages/twenty-server/src/engine/core-modules/enterprise/services/enterprise-plan.service.ts
index 5be37bd523f..4819328f9f0 100644
--- a/packages/twenty-server/src/engine/core-modules/enterprise/services/enterprise-plan.service.ts
+++ b/packages/twenty-server/src/engine/core-modules/enterprise/services/enterprise-plan.service.ts
@@ -28,7 +28,7 @@ import {
type EnterpriseKeyPayload,
type EnterpriseLicenseInfo,
type EnterpriseValidityPayload,
-} from 'src/engine/core-modules/enterprise/types/enterprise-key-payload.type';
+} from 'src/engine/core-modules/enterprise/types/organization-key-payload.type';
import { NodeEnvironment } from 'src/engine/core-modules/twenty-config/interfaces/node-environment.interface';
import {
ConfigVariableException,
diff --git a/packages/twenty-server/src/engine/core-modules/enterprise/types/enterprise-key-payload.type.ts b/packages/twenty-server/src/engine/core-modules/enterprise/types/organization-key-payload.type.ts
similarity index 100%
rename from packages/twenty-server/src/engine/core-modules/enterprise/types/enterprise-key-payload.type.ts
rename to packages/twenty-server/src/engine/core-modules/enterprise/types/organization-key-payload.type.ts
diff --git a/packages/twenty-server/src/engine/core-modules/enterprise/utils/__tests__/has-custom-ai-provider-access.util.spec.ts b/packages/twenty-server/src/engine/core-modules/enterprise/utils/__tests__/has-custom-ai-provider-access.util.spec.ts
index 2199ec57706..6ff646a242a 100644
--- a/packages/twenty-server/src/engine/core-modules/enterprise/utils/__tests__/has-custom-ai-provider-access.util.spec.ts
+++ b/packages/twenty-server/src/engine/core-modules/enterprise/utils/__tests__/has-custom-ai-provider-access.util.spec.ts
@@ -1,6 +1,6 @@
/* @license Enterprise */
-import { MAX_SEATS_WITHOUT_ENTERPRISE_KEY } from 'src/engine/core-modules/enterprise/constants/max-seats-without-enterprise-key.constant';
+import { MAX_SEATS_WITHOUT_ENTERPRISE_KEY } from 'src/engine/core-modules/enterprise/constants/max-seats-without-organization-key.constant';
import { hasCustomAiProviderAccess } from 'src/engine/core-modules/enterprise/utils/has-custom-ai-provider-access.util';
describe('hasCustomAiProviderAccess', () => {
diff --git a/packages/twenty-server/src/engine/core-modules/enterprise/utils/has-custom-ai-provider-access.util.ts b/packages/twenty-server/src/engine/core-modules/enterprise/utils/has-custom-ai-provider-access.util.ts
index daa1b7f8b6d..96323a41d4a 100644
--- a/packages/twenty-server/src/engine/core-modules/enterprise/utils/has-custom-ai-provider-access.util.ts
+++ b/packages/twenty-server/src/engine/core-modules/enterprise/utils/has-custom-ai-provider-access.util.ts
@@ -1,6 +1,6 @@
/* @license Enterprise */
-import { MAX_SEATS_WITHOUT_ENTERPRISE_KEY } from 'src/engine/core-modules/enterprise/constants/max-seats-without-enterprise-key.constant';
+import { MAX_SEATS_WITHOUT_ENTERPRISE_KEY } from 'src/engine/core-modules/enterprise/constants/max-seats-without-organization-key.constant';
type HasCustomAiProviderAccessArgs = {
isBillingEnabled: boolean;
diff --git a/packages/twenty-server/src/engine/metadata-modules/ai/ai-models/services/ai-model-registry.service.ts b/packages/twenty-server/src/engine/metadata-modules/ai/ai-models/services/ai-model-registry.service.ts
index 91a7f411310..014002e5e3a 100644
--- a/packages/twenty-server/src/engine/metadata-modules/ai/ai-models/services/ai-model-registry.service.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/ai/ai-models/services/ai-model-registry.service.ts
@@ -14,7 +14,7 @@ import {
parseAiModelVariantId,
} from 'twenty-shared/ai';
-import { MAX_SEATS_WITHOUT_ENTERPRISE_KEY } from 'src/engine/core-modules/enterprise/constants/max-seats-without-enterprise-key.constant';
+import { MAX_SEATS_WITHOUT_ENTERPRISE_KEY } from 'src/engine/core-modules/enterprise/constants/max-seats-without-organization-key.constant';
import { CustomAiProviderAccessService } from 'src/engine/core-modules/enterprise/services/custom-ai-provider-access.service';
import { ConfigVariablesGroup } from 'src/engine/core-modules/twenty-config/enums/config-variables-group.enum';
import { ConfigGroupHashService } from 'src/engine/core-modules/twenty-config/services/config-group-hash.service';
diff --git a/packages/twenty-website/src/platform/enterprise/index.ts b/packages/twenty-website/src/platform/enterprise/index.ts
index 4c6d1780144..cfdbafaf729 100644
--- a/packages/twenty-website/src/platform/enterprise/index.ts
+++ b/packages/twenty-website/src/platform/enterprise/index.ts
@@ -50,6 +50,6 @@ export {
type ResolveServerBindingInput,
type ServerBindingDecision,
} from './resolve-server-binding';
-export { signEnterpriseKey } from './sign-enterprise-key';
+export { signEnterpriseKey } from './sign-organization-key';
export { signValidityToken } from './sign-validity-token';
-export { verifyEnterpriseKey } from './verify-enterprise-key';
+export { verifyEnterpriseKey } from './verify-organization-key';
diff --git a/packages/twenty-website/src/platform/enterprise/enterprise-key-payload.ts b/packages/twenty-website/src/platform/enterprise/organization-key-payload.ts
similarity index 100%
rename from packages/twenty-website/src/platform/enterprise/enterprise-key-payload.ts
rename to packages/twenty-website/src/platform/enterprise/organization-key-payload.ts
diff --git a/packages/twenty-website/src/platform/enterprise/sign-enterprise-key.ts b/packages/twenty-website/src/platform/enterprise/sign-organization-key.ts
similarity index 80%
rename from packages/twenty-website/src/platform/enterprise/sign-enterprise-key.ts
rename to packages/twenty-website/src/platform/enterprise/sign-organization-key.ts
index df58574bbb3..6cbaf1ef0c3 100644
--- a/packages/twenty-website/src/platform/enterprise/sign-enterprise-key.ts
+++ b/packages/twenty-website/src/platform/enterprise/sign-organization-key.ts
@@ -1,4 +1,4 @@
-import { type EnterpriseKeyPayload } from './enterprise-key-payload';
+import { type EnterpriseKeyPayload } from './organization-key-payload';
import { signJwt } from './sign-jwt';
export function signEnterpriseKey(
diff --git a/packages/twenty-website/src/platform/enterprise/verify-enterprise-key.test.ts b/packages/twenty-website/src/platform/enterprise/verify-organization-key.test.ts
similarity index 92%
rename from packages/twenty-website/src/platform/enterprise/verify-enterprise-key.test.ts
rename to packages/twenty-website/src/platform/enterprise/verify-organization-key.test.ts
index fd7568e6f8b..89e60b06920 100644
--- a/packages/twenty-website/src/platform/enterprise/verify-enterprise-key.test.ts
+++ b/packages/twenty-website/src/platform/enterprise/verify-organization-key.test.ts
@@ -1,7 +1,7 @@
import { generateKeyPairSync } from 'node:crypto';
-import { signEnterpriseKey } from './sign-enterprise-key';
-import { verifyEnterpriseKey } from './verify-enterprise-key';
+import { signEnterpriseKey } from './sign-organization-key';
+import { verifyEnterpriseKey } from './verify-organization-key';
describe('verifyEnterpriseKey', () => {
beforeAll(() => {
diff --git a/packages/twenty-website/src/platform/enterprise/verify-enterprise-key.ts b/packages/twenty-website/src/platform/enterprise/verify-organization-key.ts
similarity index 71%
rename from packages/twenty-website/src/platform/enterprise/verify-enterprise-key.ts
rename to packages/twenty-website/src/platform/enterprise/verify-organization-key.ts
index faeb36aa4bd..4fef5736bd6 100644
--- a/packages/twenty-website/src/platform/enterprise/verify-enterprise-key.ts
+++ b/packages/twenty-website/src/platform/enterprise/verify-organization-key.ts
@@ -1,4 +1,4 @@
-import { type EnterpriseKeyPayload } from './enterprise-key-payload';
+import { type EnterpriseKeyPayload } from './organization-key-payload';
import { verifyJwt } from './verify-jwt';
export function verifyEnterpriseKey(
diff --git a/packages/twenty-website/src/platform/routing/static-website-routes.ts b/packages/twenty-website/src/platform/routing/static-website-routes.ts
index 4b1db185142..cf85f43a02f 100644
--- a/packages/twenty-website/src/platform/routing/static-website-routes.ts
+++ b/packages/twenty-website/src/platform/routing/static-website-routes.ts
@@ -171,12 +171,12 @@ export const STATIC_WEBSITE_ROUTES: readonly WebsiteRoute[] = [
// Post-checkout license activation: noindex (a utility route reached only
// with a Stripe ?session_id=, excluded from the sitemap).
changeFrequency: 'yearly',
- description: msg`Activate your Twenty enterprise license after checkout and copy your key into your self-hosted instance.`,
+ description: msg`Activate your Twenty Organization license after checkout and copy your key into your self-hosted instance.`,
id: 'enterpriseActivate',
indexed: false,
path: '/enterprise/activate',
priority: 0.3,
- title: msg`Enterprise Activation | Twenty`,
+ title: msg`Organization Activation | Twenty`,
},
{
// The interactive halftone generator: an internal dev tool, noindex and
diff --git a/packages/twenty-website/src/platform/site-urls.ts b/packages/twenty-website/src/platform/site-urls.ts
index eeba128d073..fc29d7fe37c 100644
--- a/packages/twenty-website/src/platform/site-urls.ts
+++ b/packages/twenty-website/src/platform/site-urls.ts
@@ -8,6 +8,8 @@ export const SITE_URLS: Record<
| 'docsDevelopers'
| 'docsGettingStarted'
| 'docsMcp'
+ | 'docsSelfHost'
+ | 'docsSelfHostLicense'
| 'docsUserGuide'
| 'github'
| 'linkedin'
@@ -22,6 +24,10 @@ export const SITE_URLS: Record<
docsDevelopers: 'https://docs.twenty.com/developers/introduction',
docsGettingStarted: 'https://docs.twenty.com/getting-started/introduction',
docsMcp: 'https://docs.twenty.com/user-guide/ai/capabilities/mcp',
+ docsSelfHost:
+ 'https://docs.twenty.com/developers/self-host/capabilities/docker-compose',
+ docsSelfHostLicense:
+ 'https://docs.twenty.com/user-guide/billing/capabilities/pricing-plans#get-an-organization-key',
docsUserGuide: 'https://docs.twenty.com/user-guide/introduction',
github: 'https://github.com/twentyhq/twenty',
linkedin: 'https://www.linkedin.com/company/twenty',
diff --git a/packages/twenty-website/src/sections/enterprise-activate/EnterpriseActivateClient.tsx b/packages/twenty-website/src/sections/enterprise-activate/EnterpriseActivateClient.tsx
index 0367635a333..210034f33cc 100644
--- a/packages/twenty-website/src/sections/enterprise-activate/EnterpriseActivateClient.tsx
+++ b/packages/twenty-website/src/sections/enterprise-activate/EnterpriseActivateClient.tsx
@@ -144,7 +144,7 @@ export function EnterpriseActivateClient() {
);
case 'request-failed':
return i18n._(
- msg`Failed to activate enterprise key. Please try again.`,
+ msg`Failed to activate Organization key. Please try again.`,
);
case 'incomplete-response':
return i18n._(msg`Activation response was incomplete.`);
@@ -160,7 +160,7 @@ export function EnterpriseActivateClient() {
<ContentStack>
{loading ? (
<Body size="sm">
- {i18n._(msg`Activating your enterprise license…`)}
+ {i18n._(msg`Activating your Organization license…`)}
</Body>
) : null}
@@ -172,7 +172,7 @@ export function EnterpriseActivateClient() {
<>
<Body className={successLeadClassName} size="md" weight="medium">
{i18n._(
- msg`Your enterprise license has been activated successfully.`,
+ msg`Your Organization license has been activated successfully.`,
)}
</Body>
@@ -183,7 +183,7 @@ export function EnterpriseActivateClient() {
<KeySection>
<Heading as="h2" family="sans" size="xs" weight="medium">
- {i18n._(msg`Your enterprise key`)}
+ {i18n._(msg`Your Organization key`)}
</Heading>
<Body size="sm">
{i18n._(
@@ -217,13 +217,13 @@ export function EnterpriseActivateClient() {
<NextStepsList>
<li>
<Body size="sm">
- {i18n._(msg`Copy the enterprise key above.`)}
+ {i18n._(msg`Copy the Organization key above.`)}
</Body>
</li>
<li>
<Body size="sm">
{i18n._(
- msg`Open your Twenty self-hosted instance Settings → Enterprise.`,
+ msg`Open your Twenty self-hosted instance Settings → Admin Panel → Enterprise.`,
)}
</Body>
</li>
diff --git a/packages/twenty-website/src/sections/enterprise-activate/EnterpriseActivateHero.tsx b/packages/twenty-website/src/sections/enterprise-activate/EnterpriseActivateHero.tsx
index 93b222d264a..43228c09adc 100644
--- a/packages/twenty-website/src/sections/enterprise-activate/EnterpriseActivateHero.tsx
+++ b/packages/twenty-website/src/sections/enterprise-activate/EnterpriseActivateHero.tsx
@@ -45,7 +45,7 @@ export function EnterpriseActivateHero() {
<HeadingPair>
<HeadingMeasure>
<Heading as="h1" size="lg" weight="light">
- {i18n._(msg`Enterprise *activation*`)}
+ {i18n._(msg`Organization *activation*`)}
</Heading>
</HeadingMeasure>
<BodyMeasure>
diff --git a/packages/twenty-website/src/sections/pricing-plans/plans-data.ts b/packages/twenty-website/src/sections/pricing-plans/plans-data.ts
index 5ddffd13b3e..64f525678bd 100644
--- a/packages/twenty-website/src/sections/pricing-plans/plans-data.ts
+++ b/packages/twenty-website/src/sections/pricing-plans/plans-data.ts
@@ -1,6 +1,7 @@
import { type MessageDescriptor } from '@lingui/core';
import { msg } from '@lingui/core/macro';
+import { SITE_URLS } from '@/platform/site-urls';
import { type PlansHostingMode } from '@/pricing-state';
export type PlansBillingPeriod = 'monthly' | 'yearly';
@@ -153,12 +154,12 @@ export const PLANS_DATA: Record<PlansTierId, PlansTier> = {
},
cta: {
cloud: {
- href: 'https://app.twenty.com/welcome',
+ href: SITE_URLS.appWelcome,
label: msg`Start for free`,
},
selfHost: {
- href: 'https://app.twenty.com/welcome',
- label: msg`Start for free`,
+ href: SITE_URLS.docsSelfHostLicense,
+ label: msg`Get a license`,
},
},
heading: { cloud: msg`Organization`, selfHost: msg`Organization` },
@@ -192,11 +193,11 @@ export const PLANS_DATA: Record<PlansTierId, PlansTier> = {
},
cta: {
cloud: {
- href: 'https://app.twenty.com/welcome',
+ href: SITE_URLS.appWelcome,
label: msg`Start for free`,
},
selfHost: {
- href: 'https://app.twenty.com/welcome',
+ href: SITE_URLS.docsSelfHost,
label: msg`Start for free`,
},
},