Here is the list of ways to provision alert resources
I guess the answer to your question depends on if you need to create many alert rules or just a few, and if you want to link alert rules to visualizations. If you want to link alert rules to panels in the UI, the workflow is panel first, and then alert rule.