# Enable Members

Firma supports both free and paid members. By default, users who sign up will automatically be free members and can sign in later with a magic link.

If you set up paid tiers, members who have previously registered for free can pay a subscription to access your website's premium content.

# Member Pages

Sign up

This page is where users can sign up on your site. If they are already free members then they will see the subscription plans you have in place and will be able to pay to become paid members.

Sign in

On this page members of your site will be able to sign in. The only thing they will need is their email address in order to receive a magic link with which to sign in.

Membership

If users visiting this page are not registered or are free members they will see the subscription plans you have in place and will be able to pay to become paid members.

Account

On this page members will be able to view their account details. If they are free members then they will also see a link to go to the page where the subscription plans are shown.

If they are paid members then they will see a list of their subscriptions, each with information such as price, expiration date, payment information and a link to cancel.

Newsletter

On this page any user can enter their email address to receive in their inbox content from your site periodically.

# Set Up

The first thing you need to do to allow members on your site is to enable this feature in the Ghost Admin and connect a Stripe account. In this link (opens new window) you can see in detail what are the requirements and steps to correctly enable it.

Then you have to follow these additional steps:

Step 1

Unzip the theme folder.

Step 2

Head to the Labs page in the Ghost Admin, scroll all the way down and press the Upload routes YAML button, then choose the file routes.yaml that is located in the root of the theme folder.

Step 3

You must now create the following pages in the Ghost Admin:

  • Sign up
  • Sign in
  • Membership
  • Account
  • Newsletter

To create each page click on Pages in the navigation menu and then click on the New page button.

You can assign any title you want to each page and you don't need to add content to them.

The important thing is that the slug in the URL on each page matches the one on its corresponding page according to the following table:

Page Slug
Sign up signup
Sign in signin
Membership membership
Account account
Newsletter newsletter

For example, this is what the settings in the sign up page should look like:

Sign up page settings

Since Ghost generates the slug automatically based on the page title, you must make sure that the value of the Page URL field matches the one in the table above, otherwise you have to change it manually.

Remember that you have to do this for every page in the list above.

Step 4

The Account, Sign in and Sign up links are automatically included in the main menu, if you also want to have links for the Membership and Newsletter pages you can add the following links in the Navigation section of the Design page in the Ghost Admin:

Label Page URL
Membership https://YOUR_SITE_URL/membership
Newsletter https://YOUR_SITE_URL/newsletter

Don't forget to replace YOUR_SITE_URL with your website's URL.

Please make sure that the last part of each url matches its respective path in the routes.yaml file, otherwise it will not work.

# Portal

Portal (opens new window) is a new feature that comes enabled by default in the latest versions of Ghost, among some of its options is the option to display a button to subscribe which is visible on all pages of your site.

Although this button could be useful in some situations, I recommend that you disable it since Firma already manages everything related to memberships, also because for now the button and the interface that is displayed when you press it are not very customizable and may not work very well with the language and design of your site.

To disable it head to your Ghost Admin and go to the Labs menu, there you should click on the Customise button in the Portal settings.

In the window that appears you only have to disable the "Show Portal button" option, save the changes and that's it, as shown in the following screenshot:

Portal settings