Yes, fishless cycling a dark tank that only has substrate is a good way to minimize the algae. You can use pieces of black plastic garbage bag taped onto the tank. Sometimes double layers are needed to make it really black.
You want to establish a time of day to add the ammonia (if its needed that day) and its best to pick a time such that it meets a couple of criteria: You want a time when you are likely to usually be home. It should ideally be a time when, 12 hours later, you will also be home. So, for instance, if you are likely to be home at 7am and 7pm then you could pick 7pm as your "ammonia add time." Let's say you add 5ppm of ammonia at 7pm one day. At 7am the next morning (this is later in the fishless cycle when you are testing -twice- a day) you test and find ammonia has dropped to zero ppm. You do nothing. Then at 7pm (your "ammonia add time") you add enough ammonia to get to 5ppm concentration. You only ever add ammonia once in a 24 hour period and you only add it at the "add time." And you only add it, of course, if ammonia reached zero ppm sometime during the previous 24 hours. The reason for this is to somewhat minimize the total amount of nitrogen going into the tank, as it will later result in greater amounts of nitrite and nitrate, some of which will be acidic.
None of this need be as precise as my paragraph makes it sound, it just helps people to lay it out that way we've found. During the first couple of weeks its good enough to just test once a day, at least until you get curious and maybe start getting some nitrite(NO2), after which you'll get curious to see if that's going up and up. After the ammonia is dropping to zero each day and the nitrite is getting higher, the next milestone is when nitrite(NO2) reaches the highest that the test can measure, the "nitrite spike", where it will stay usually for days at least.
~~waterdrop~~