The name "Game Foundation" does not exist in the current context

Hi! I’m trying out Game Foundation and I want to save all the changes that are made in Runtime. So I found this code in the official tutorial:

using UnityEngine;
using UnityEngine.GameFoundation;

public class SaveGame : MonoBehaviour
    IDataPersistence localPersistence;

    void Awake()
        // choose what format you want to use
        JsonDataSerializer dataSerializer = new JsonDataSerializer();

        // choose where and how the data is stored
        localPersistence = new LocalPersistence(dataSerializer);

        // tell Game Foundation to initialize using this
        // persistence system. Only call Initialize once per session.

    public void Save()

    public void Load()

But I’m having this problem:

Any help will be appreciated!

GameFoundation isn’t a namespace in the normal unity assemblies its a preview package you need to install.

Have you installed it?