Two American banks, Bank of America and Amalgamated Bank, have pledged to power all their offices and enterprises with renewable energy by 2020 and 2017, respectively.