Interact with smart contract without calling Metamask

I read this -> but could we use Moralis to interact (transfer tokens, execute functions) with smart contract on Ethereum without interacting with Metamask?

you can only call read only functions without interacting with MetaMask (or another wallet) with runContractFunction:

Ok, that’s too bad as I need to execute some functions in smart contract. I actually need that as I’m participating in a hackathon sponsored by Moralis.

without metamask (or another wallet), you’ll have to use a private key in order to execute write functions in a smart contract