UiPath Assistant Help

I am having trouble on how to add an automation to UiPath Assistant. When I run the automation from the Main.xaml file, I instantly get an error message. My coworker said that he got the same error message and told me to try to run the automation through the UiPath Assistant. So how do I go about adding that automation to Orchestrator and UiPatjh Assistant?

Open your process and publish your process in orchestrator and make process for it.
After that configure UiPath assistant to orchestrator if it is not configured.
UiPath assistant configuration and how to run process is present in this document.