If your installation is going to connect to the grid in any way you absolutely need a permit and permission from the power company. If it's entirely a standalone system then while most jurisdictions would probably still require a permit, as a practical matter you might be able to skip it.