user4254: How do I export my .hs contract to .Plutus? Please provide step by step guidance.

user1231: You can find a good example in Exercise4-solution of Alonzo-testnet program.
Source code is here: plutus-helloworld, if you have any doubt check the code to understand what it does.
Basically you need to:

Create an executable plutus-helloworld as defined in plutus-helloworld.cabal file
Compile the plutus file using: cabal run plutus-helloworld -- 1 helloworld2.plutus
Build the address: cardano-cli address build --payment-script-file helloworld2.plutus --testnet-magic 8 --out-file helloworld2.addr

Then you can follow the exercise solution.

4254: <p>How do I export my .hs contract to .Plutus? Please provide step by step guidance.</p>
 1231: <p>You can find a good example in <a href="https://github.com/input-output-hk/Alonzo-testnet/blob/main/Alonzo-solutions/exercise4/Exercise4-solution.md" rel="nofollow noreferrer">Exercise4-solution</a> of Alonzo-testnet program.</p>
<p>Source code is here: <a href="https://github.com/input-output-hk/Alonzo-testnet/tree/main/resources/plutus-sources/plutus-helloworld" rel="nofollow noreferrer">plutus-helloworld</a>, if you have any doubt check the code to understand what it does.</p>
<p>Basically you need to:</p>
<ol>
<li>Create an executable <code>plutus-helloworld</code> as defined in <code>plutus-helloworld.cabal</code> file</li>
<li>Compile the plutus file using: <code>cabal run plutus-helloworld -- 1 helloworld2.plutus</code></li>
<li>Build the address: <code>cardano-cli address build --payment-script-file helloworld2.plutus --testnet-magic 8 --out-file helloworld2.addr</code></li>
</ol>
<p>Then you can follow the exercise solution.</p>
