Codefresh on-premises platform account & user setup

Set up accounts and users in Codefresh after installing the on-premises platform

After installing Codefresh on-premises successfully, before users can work magic with Codefresh pipelines, as the Codefresh account administrator you need to complete the setup tasks described in this article.

The Codefresh Admin Management panel provides all the options you need to set up accounts and users.

Review the options available in Admin Management and Account management

OR

Continue with the steps below to complete the setup for Codefresh on-premises for your organization:

  1. Sign in to Codefresh
  2. Add a Codefresh account
  3. Invite a user to the Codefresh account
  4. Enable features for the Codefresh account
  5. Set login options for Codefresh account
  6. Set the system type for Codefresh account

On-premises account setup

Step 1: Sign in to Codefresh

Sign in to Codefresh for the first time after on-premises platform installation with the default username and password.

  1. In the Sign In page, click Codefresh.
  2. Enter the default Username and Password.
  3. Click Sign In.

Signing in to Codefresh after platform installation

Signing in to Codefresh after platform installation
  1. Continue with Step 2: Add a Codefresh account.

Step 2: Add a Codefresh account

Before creating projects and pipelines, add Codefresh accounts for your organization.

Only those settings required for initial set up are described here.
For a description of all settings available for a Codefresh account, see Quick reference: Account settings in this article.

  1. From your avatar dropdown, select Admin Management.

Admin Management for on-premises

Admin Management for on-premises
  1. From the sidebar, select Accounts.
    The Accounts page displays two default accounts, the codefresh-system-account and the admin-cf account.

Account setup and management for on-premises

Account setup management for on-premises
  1. In the toolbar on the right, click the + icon.
  2. In Create New Account, enter the account name and click Create.
    The new account is displayed in the list of Accounts.
  3. Click the System Type column, and do the following:
  4. Select the System Type for the account:
    • Classic: Codefresh pipelines only.
    • GitOps: GitOps applications integrated with ArgoCD.
    • Project One: The New Codefresh Experience with Classic Pipelines and GitOps as a single module with a unified sidebar menu and shared administration and configuration.
    • GitOps + Classic: Available as two different modules, with one of them active at any one time. You can toggle between the modules.
  5. Click Save.
  1. Set the number of Runtime Environments for this account.
  2. Set the number of Parallel Builds.
  3. In the Collaborators column, click the Edit icon and increase the count to equal the number of users you plan on inviting to the account, and then click the Save icon. You can always change this later.
  4. If you have a Windows environment, set the number of Nodes.
  5. To enable username-password login for the users in this account, set User/Pass Enabled to ON.
  6. To disable users in this account from creating personal accounts after signing in to Codefresh, set Disable Personal Account to ON.
  7. For Windows environments, set the Codefresh Env to use.
  8. Continue with Step 3: Invite a user to a Codefresh account.

Step 3: Invite a user to a Codefresh account

Invite one or more to the Codefresh account you created.
The maximum number of users you can invite to your account depends on the number of Collaborators defined for the account. A Collaborator is a Codefresh user who can access the UI and perform different actions. Once users are invited, their statuses remain as Pending until they accept the invitations.

  1. From the account’s context menu, select Invite user into account.

Invite user to Codefresh account

Invite user to Codefresh account
  1. Enter the user’s email address and click Add.

Sending the invite to the user

Sending the invite to the user

The Users list displays the predefined codefresh-system and the AdminCF users, and the user you invited.

  • The username is automatically generated by Codefresh.
  • The Email column shows the email address.
  • The Status column shows Pending.

Newly invited user with Pending status

Newly invited user with Pending status
  1. Optional. To enable username-password login for the user, complete these additional steps:
    1. Click the icon to the left of the username, and select Show Invite Link.
    2. Copy the link from the popup that appears and click OK.
    3. Send the link to the user, requesting the user to sign in to Codefresh with the link for the first time.
  2. Continue with Step 4: Enable features for the account.

Step 4: Enable features for the account

Enable features to open them for Codefresh accounts in your organization.
This step describes how to enable features for a single account at a time.

NOTE
To enable features selectively for specific accounts, or for all accounts in the organization, see Codefresh on-premises feature management.

Enable/disable features for a specific account

Before you begin

How to

  1. Make sure you are in Admin Management.
  2. From the sidebar, select Accounts.
  3. To filter the feature list, from the All dropdown list, select the category you want to see.

Enable features for a specific Codefresh account

Enable features for a specific Codefresh account
  1. To enable a feature for the account, below Enable, toggle the required feature to ON.

Enable System Features

System Features are generally for internal use. For convenience and ease of set up, turn on ONLY the System Features listed in this section.
When you enable System Features, the behavior for a specific System Feature is identical to that of the other Feature Flags: you can enable/disable it for a single, for specific, or for all accounts.

IMPORTANT
Codefresh strongly recommends against enabling the System Features not explicitly mentioned here, unless you are familiar with the implications of turning on each of the features.
If you need to turn on a feature, we recommend to first contact Codefresh support.

  1. Make sure you are in Admin Management.
  2. From the sidebar, click Feature Management.
  3. Toggle System Features on the top right to ON.
  4. In the Search Features field, search for the following features in turn, and then toggle Enabled to ON for each of them:
    • ssoManagement: Enables user login with SSO provider integrations set up in Codefresh.
    • teamsManagement: Enables the account administrator to create teams, and assign users in an account to one or more teams.
    • emailDomainManagement: Enables restricting user invitations to the domains defined.

Enable system features for a Codefresh account

Enable system features for a Codefresh account

You have now created a Codefresh account, added one or more users the account, and enabled or disabled features for the account. Review What to do next for tips on how to proceed.

What to do next

See our quick starts for CI/CD and GitOps.

Quick reference: Admin Management settings

The Admin Management panel is your one-stop location to set up Codefresh according to your requirements.

Admin Management options for Codefresh on-premises

Admin Management options for Codefresh on-premises

The table describes the options in Admin Management relevant for Codefresh account administrators.

Account Setting Description
Users The list of users added to the account. In addition to the personal and login information, you can see the roles assigned to the user, the accounts they belong to, their current status and most recent login.
Accounts The configuration settings defined for the account.
See Quick reference: Account settings.
Nodes Applicable only to Windows on-premises environments. The Docker nodes created for the account.
IDPs The SSO integrations set up in Codefresh.
Runtime Environments The predefined and user-defined Runtime Environments.
  • System: The global Runtime Environments defined by Codefresh, available to your organization. When defining the account settings, you can select one of the predefined Runtime Environments for the account.
  • Account: The Runtime Environments defined for the account.
Audit The actions audited by Codefresh across all accounts in your organization, based on the API calls made to Codefresh. You can filter by Account, the type of Entity or Action, and Status.
Approvals The Codefresh accounts deleted after approval of the delete request.
You can restore a deleted account through the Restore Account option.
Features Management The features to enable/disable for all or specific accounts in your organization.
See On-premises feature list.
Restore Account The list of deleted accounts for your organization, and the option to restore them by clicking Restore Account in the Actions column.

Quick reference: Account settings

Here’s an example of the Account settings page in Admin Management.

Settings for Codefresh accounts

Settings for Codefresh accounts

The table describes the settings for available Codefresh accounts.

NOTE
Settings that are not described in this table are not applicable to on-premises environments and can be ignored.

Account Setting Description
Activated/Suspended/Increased attention Automatically set and managed by Codefresh.
Account name The name of the account.
To change, click the Edit icon.
System type The Codefresh module to activate for this account. Selecting a System Type switches the account to one of the following:
  • Classic: Codefresh pipelines only.
  • GitOps: GitOps applications integrated with ArgoCD.
  • Project One: The New Codefresh Experience with Classic Pipelines and GitOps as a single module with a unified sidebar menu and shared administration and configuration.
    See The New Codefresh Experience and Menu Navigation.
  • GitOps + Classic: Available as two different modules, with one of them active at any one time. You can toggle between the modules.
    See Codefresh for CI and Codefresh for CD.
Creation date The date the account was created.
Amount of admins The number of users with administrator roles for this account.
Limit of environments Leave as is.
Parallel builds The number of parallel Runner builds for pipelines. Generally unlimited for on-premises.
Nodes Relevant for when Codefresh on-premises is installed on Windows. The number of console nodes you can connect to.
User/pass enabled Enable username-password combination as a login mechanism for users in this account.
When enabled, the Sign-In page displays Codefresh as a login option, and users can supply the username and password as login credentials.
Disable personal account When enabled (recommended), prevents users from creating personal accounts after signing in to Codefresh for the first time on receiving invitations.
Data retention The length of time in weeks for which to retain builds and logs for Codefresh pipelines.
Collaborators The number of users permitted for this account. A Collaborator is a Codefresh user who can access the UI. If you keep the count as one, Codefresh displays an error that you have reached the user limit and prevents you from inviting additional users.
Runtime environments Optional. The System Runtime Environments to select for this account. The System Runtime Environments are global Runtime Environments predefined by Codefresh.
Codefresh environments Optional. For Windows environments, the Codefresh environment to select for the Windows nodes.
Actions The actions available for the account, displayed by clicking the context menu to the right of the account:
  • Audit by account: Takes you to the Audit page.
    See Auditing actions in Codefresh.
  • Invite user to account: Opens the popup where you can specify the email of the user to invite to the account. To add the admin role for this user, select Set the user as admin to this account.
  • Assign new feature: Displays the list of features where you can enable/disable specific features for this account.
    See On-premises feature list.
  • Show account domains: Restrict user invitations to specific email domains. Clicking Add Domain lets you add the email domains to allow.
    See also Define session timeouts and domain restrictions for user accounts.

On-premises feature management
Codefresh on-premises upgrade