This is the way Dorico works, with midi going through the program. See this post:
If you need step-by-step instructions, try this post.