How to use Automated Planning