Hi there! In-script, you can grant achievements with
$ achievement_you_made.grant()
Remember it'll only show a popup if you've got the configuration options set to allow them + you haven't gotten that achievement before. You can use the Delete Persistent option in the Ren'Py launcher to fully reset all achievements.