Start here · Lesson 2 of 15 · 10 min

Create a space and look around

Sign up, make an empty space, learn six words, and copy the three keys your code will need.

1. Sign up

Go to contentful.com/sign-up and create a free account. If it offers to fill your space with example content, say no. You want an empty space so everything in it is yours.

2. Learn the six words

Everything in Contentful is one of these:

Word What it is Like
Space One project’s content A database
Content type The shape of one kind of content A table definition
Field One piece of a content type A column
Entry One piece of content A row
Asset An uploaded file: image, PDF, video A file with a description
Environment A full copy of the space for safe changes A branch

Every space starts with one environment named master. That’s the live one.

3. Find your way around

The top navigation has the parts you’ll use most:

  • Content model: where you define content types (lesson 3)
  • Content: where you write entries (lesson 4)
  • Media: where assets live
  • Settings (the gear): API keys, webhooks, environments, content preview

4. Create an API key

Your code needs permission to read the space.

  1. Go to Settings → API keys
  2. Click Add API key and name it Learn Hub
  3. Copy these three values somewhere safe for now:
Value What it’s for
Space ID Says which space to read
Content Delivery API access token Reads published content
Content Preview API access token Reads drafts too

Both tokens are read-only. They can’t change or delete anything. Still, treat them like passwords and keep them out of git.