# 4. Create a mining profile

After we've created an agent, next up we need to set up a mining profile. Mining profiles help you optimize your mining operation based on parameters like electricity price and other fixed costs. Setting up a mining profile is crucial for Hashman’s advanced optimization engine.\
\
Please follow the instructions defined in [automation-and-mining-profiles](https://hashman.gitbook.io/hashman-docs/features/automation-and-mining-profiles "mention") to setup your mining profile.\
\
After creating the mining profile, remember to assign the it to an agent. Go to the Agent view -> Edit agent and then choose the correct mining profile.&#x20;
