How to make a fabricator run on gas or electricity

You can see how it works with this it’s the StorageBox_Fabricator blueprint which has all the graphs on it.

It’s now in top post.