Project Structure Preview spago init pspy --init add backend="pspy" in spago.dhall. Then, write code like that in a regular purescript project.