"To create quotations, first create a context instance. Please see the context section for more details on the different context available." So use import ctx._ before calling quote, as documentation does, or ctx.quote. Failure to resolve ctx.run looks like an IDE problem to me: try to actually build the project.