Bitcoin
After creating the raw coinbase tx, how do I add it to the block template?

Do I need to call after creating raw coinbase tx? "getblocktemplate" Would you like to add my tx there and then submit the block?
Do I need to call after creating raw coinbase tx? "getblocktemplate" Would you like to add my tx there and then submit the block?