Create a Discord application in the Discord Developer Portal
Go to the Rich Presence section
Add your assets, such as large image and small image
Set up your presence text, timestamps, and buttons in your app code
Use a Rich Presence library for your platform or language
Run the app locally while Discord is open
Connect the app to Discord using the application client ID
Update the presence data from your code
Keep the app running to maintain the custom status
Make sure Discord is not blocked from detecting your game or app
Use a custom client or third-party tool only if you understand the risks and Discord policy limits
