Get the hyperparameters from the corresponding defaults script of the algorithm to be used (you will need to add a new dictionary for your own environment)
Make the environment
DummyVecEnv for a single instance
SubprocVecEnv for multiple instances
Call the corresponding learn function of the algorithm to be used
Save the statistics and checkpoints in Tensorboard
Save the used hyperparameters in the training
:warning: Be aware of env.set_episode_size(episode_size) function, if it is not called once the environment is made, the default size of the episode will be 1024. It is advisable to set the same value as the one to be used in the learning algorithm, or at least a power of 2.