Join a plan via code

or create a new plan